Fixed header include paths.
This commit is contained in:
parent
ad973a5cfe
commit
3b733b91bb
@ -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…
Reference in New Issue
Block a user