Moved pkg-config file generation.

This commit is contained in:
Camilla Berglund
2012-03-26 03:11:43 +02:00
parent e53bbfd2dd
commit 6fd6c5f7e4
2 changed files with 6 additions and 7 deletions
+6
View File
@@ -154,6 +154,12 @@ if (_GLFW_X11_GLX)
if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
set(_GLFW_USE_LINUX_JOYSTICKS 1)
endif()
configure_file(${GLFW_SOURCE_DIR}/src/libglfw.pc.in
${GLFW_BINARY_DIR}/src/libglfw.pc @ONLY)
install(FILES ${GLFW_BINARY_DIR}/src/libglfw.pc
DESTINATION lib/pkgconfig)
endif()
#--------------------------------------------------------------------