[Kst] branches/work/kst/portto4/kst/cmake

Peter Kümmel syntheticpp at gmx.net
Wed Mar 23 13:35:08 CET 2011


SVN commit 1225801 by kuemmel:

cmake 2.8.4 needed to list show GPL

 M  +2 -5      CMakeLists.txt  


--- branches/work/kst/portto4/kst/cmake/CMakeLists.txt #1225800:1225801
@@ -244,15 +244,12 @@
 set(CPACK_STRIP_FILES 1)
 
 
-if(UNIX)
+
 	# cmake bug, problems with the quotes in the gpl, fixed in 2.8.4
-	set(CPACK_RESOURCE_FILE_LICENSE ${CMAKE_BINARY_DIR}/gpl)
-	FILE(WRITE ${CPACK_RESOURCE_FILE_LICENSE} "\n\nGNU GENERAL PUBLIC LICENSE, Version 2, June 1991")
-else()
 	set(CPACK_RESOURCE_FILE_LICENSE "${kst_dir}/COPYING")
-endif()
 
 
+
 # sources
 set(CPACK_SOURCE_INSTALLED_DIRECTORIES "${kst_dir};/") # http://www.mail-archive.com/cmake@cmake.org/msg33720.html
 set(CPACK_SOURCE_GENERATOR TGZ ZIP TBZ2)


More information about the Kst mailing list