Fixed header include paths.

This commit is contained in:
Camilla Berglund 2011-09-06 17:32:41 +02:00
parent ad973a5cfe
commit 3b733b91bb
4 changed files with 5 additions and 7 deletions

View File

@ -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)

View File

@ -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"

View File

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

View File

@ -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