Fix header guard and definitions not being set to 1

This commit is contained in:
Ryan Houdek
2013-02-11 15:06:40 -06:00
parent 0955135290
commit 8923f0e13b
2 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -247,14 +247,14 @@ endif()
# Enabling GLES also disables the OpenGL plugin.
if(USE_GLES)
message("GLES rendering enabled")
add_definitions(-DUSE_GLES)
add_definitions(-DUSE_EGL)
add_definitions(-DUSE_GLES=1)
add_definitions(-DUSE_EGL=1)
set(USE_EGL True)
endif()
if(USE_EGL)
message("EGL OpenGL interface enabled")
add_definitions(-DUSE_EGL)
add_definitions(-DUSE_EGL=1)
endif()
add_definitions(-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE)