Replaced platform specific config headers with shared one, updated version strings to include CMake version.

This commit is contained in:
Camilla Berglund
2010-09-17 00:54:11 +02:00
parent e35badcb70
commit 3ca63a0cf3
10 changed files with 7 additions and 16 deletions
-3
View File
@@ -1,6 +1,3 @@
configure_file(
${CMAKE_CURRENT_SOURCE_DIR}/x11_config.h.cmake
${CMAKE_CURRENT_BINARY_DIR}/x11_config.h @ONLY)
configure_file(
${CMAKE_CURRENT_SOURCE_DIR}/libglfw.pc.cmake
-1
View File
@@ -43,7 +43,6 @@
#include <GL/glx.h>
#include "../../include/GL/glfw3.h"
#include "x11_config.h"
// We need declarations for GLX version 1.3 or above even if the server doesn't
// support version 1.3
-16
View File
@@ -1,16 +0,0 @@
/* Configure build time options of GLFW */
/* Define this to 1 if XRandR is available */
#cmakedefine _GLFW_HAS_XRANDR 1
/* Define this to 1 if Xf86VidMode is available */
#cmakedefine _GLFW_HAS_XF86VIDMODE 1
/* Define this to 1 if glXGetProcAddress is available */
#cmakedefine _GLFW_HAS_GLXGETPROCADDRESS 1
/* Define this to 1 if glXGetProcAddressARB is available */
#cmakedefine _GLFW_HAS_GLXGETPROCADDRESSARB 1
/* Define this to 1 if glXGetProcAddressEXT is available */
#cmakedefine _GLFW_HAS_GLXGETPROCADDRESSEXT 1
#define _GLFW_VERSION_FULL "@GLFW_VERSION_FULL@"