From: <pat...@us...> - 2013-10-13 20:10:52
|
Revision: 1288 http://sourceforge.net/p/ggt/code/1288 Author: patrickh Date: 2013-10-13 20:10:49 +0000 (Sun, 13 Oct 2013) Log Message: ----------- >From the submission: Prevent .svn files and directories from being installed. Correct how the pc file is installed. The pc file creation is copied from the SCons build process. Submitted by: Doug McCorkle Modified Paths: -------------- trunk/CMakeLists.txt Modified: trunk/CMakeLists.txt =================================================================== --- trunk/CMakeLists.txt 2013-09-16 14:28:37 UTC (rev 1287) +++ trunk/CMakeLists.txt 2013-10-13 20:10:49 UTC (rev 1288) @@ -40,7 +40,8 @@ install(DIRECTORY ${PROJECT_SOURCE_DIR}/${PROJECT_NAME} DESTINATION ${gmtl_INSTALL_INCDIR} - FILES_MATCHING PATTERN "*.h") + FILES_MATCHING PATTERN "*.h" + PATTERN ".svn" EXCLUDE) ############################################################ @@ -105,9 +106,10 @@ DESTINATION "share/flagpoll" COMPONENT development) -install(FILES "${CMAKE_CURRENT_BINARY_DIR}/gmtl.pc" +install(FILES "${CMAKE_CURRENT_BINARY_DIR}/gmtl.fpc" DESTINATION "lib/pkgconfig" - COMPONENT development) + COMPONENT development + RENAME gmtl.pc) install(FILES gmtl-config DESTINATION ${gmtl_INSTALL_BINDIR} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |