Fixed header include paths.

master
Camilla Berglund ago%!(EXTRA string=14 years)
parent ad973a5cfe
commit 3b733b91bb
  1. 6
      src/CMakeLists.txt
  2. 2
      src/internal.h
  3. 2
      src/win32_platform.h
  4. 2
      src/x11_platform.h

@ -17,11 +17,9 @@ if(UNIX)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libglfw.pc DESTINATION lib/pkgconfig)
endif(UNIX)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}
${GLFW_SOURCE_DIR}/src
include_directories(${GLFW_SOURCE_DIR}/src
${GLFW_BINARY_DIR}/src
${GLFW_INCLUDE_DIR}
${GLFW_SOURCE_DIR}/support)
${GLFW_INCLUDE_DIR})
set(common_SOURCES enable.c error.c fullscreen.c gamma.c init.c input.c
joystick.c opengl.c time.c window.c)

@ -59,7 +59,7 @@
#include "config.h"
#include "../include/GL/glfw3.h"
#include "../include/GL/glext.h"
#include "../support/GL/glext.h"
#if defined(_GLFW_COCOA_NSGL)
#include "cocoa_platform.h"

@ -43,7 +43,7 @@
#include <windows.h>
#include <mmsystem.h>
#include "../include/GL/wglext.h"
#include "../support/GL/wglext.h"
//========================================================================

@ -41,7 +41,7 @@
#define GLX_GLXEXT_LEGACY
#include <GL/glx.h>
#include "../../include/GL/glxext.h"
#include "../support/GL/glxext.h"
// We need declarations for GLX version 1.3 or above even if the server doesn't

Loading…
Cancel
Save