Moved _GLFW_BUILD_DLL into configuration header.

This commit is contained in:
Camilla Berglund
2012-03-29 14:06:26 +02:00
parent 171db6d6cb
commit dd8b098387
5 changed files with 19 additions and 2 deletions
+7
View File
@@ -22,6 +22,13 @@ if (CMAKE_COMPILER_IS_GNUCC)
add_definitions(-Wall)
endif()
#--------------------------------------------------------------------
# Export shared library / dynamic library / DLL build option
#--------------------------------------------------------------------
if (BUILD_SHARED_LIBS)
set(_GLFW_BUILD_DLL 1)
endif()
#--------------------------------------------------------------------
# Detect and select target platform
#--------------------------------------------------------------------