mirror of
https://github.com/glfw/glfw.git
synced 2026-09-22 16:52:57 +00:00
Replaced platform specific config headers with shared one, updated version strings to include CMake version.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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@"
|
||||
|
||||
Reference in New Issue
Block a user