Added missing headers to library target.

This commit is contained in:
Camilla Berglund
2013-06-17 10:26:57 +02:00
parent 305c66db31
commit 01ccc56423
2 changed files with 20 additions and 18 deletions
+17 -17
View File
@@ -365,23 +365,6 @@ else()
set(GLFW_LIB_NAME glfw3)
endif()
#--------------------------------------------------------------------
# Add subdirectories
#--------------------------------------------------------------------
add_subdirectory(src)
if (GLFW_BUILD_EXAMPLES)
add_subdirectory(examples)
endif()
if (GLFW_BUILD_TESTS)
add_subdirectory(tests)
endif()
if (DOXYGEN_FOUND)
add_subdirectory(docs)
endif()
#--------------------------------------------------------------------
# Create generated files
#--------------------------------------------------------------------
@@ -402,6 +385,23 @@ if (UNIX)
${GLFW_BINARY_DIR}/src/glfw3.pc @ONLY)
endif()
#--------------------------------------------------------------------
# Add subdirectories
#--------------------------------------------------------------------
add_subdirectory(src)
if (GLFW_BUILD_EXAMPLES)
add_subdirectory(examples)
endif()
if (GLFW_BUILD_TESTS)
add_subdirectory(tests)
endif()
if (DOXYGEN_FOUND)
add_subdirectory(docs)
endif()
#--------------------------------------------------------------------
# Install files
# The library is installed by src/CMakeLists.txt