Added explicit configuration header macro.

This commit is contained in:
Camilla Berglund
2013-11-20 11:49:44 +01:00
parent bb3f29d8bc
commit 23021422f3
3 changed files with 7 additions and 1 deletions
+2
View File
@@ -3,6 +3,8 @@ include_directories(${GLFW_SOURCE_DIR}/src
${GLFW_BINARY_DIR}/src
${glfw_INCLUDE_DIRS})
add_definitions(-D_GLFW_USE_CONFIG_H)
set(common_HEADERS ${GLFW_BINARY_DIR}/src/glfw_config.h internal.h
${GLFW_SOURCE_DIR}/include/GLFW/glfw3.h
${GLFW_SOURCE_DIR}/include/GLFW/glfw3native.h)