[cmake-commits] martink committed CMakeLists.txt 1.1 1.2

cmake-commits at cmake.org cmake-commits at cmake.org
Tue Nov 13 11:11:05 EST 2007


Update of /cvsroot/CMake/CMake/Tests/Tutorial/Step7
In directory public:/mounts/ram/cvs-serv19538/Step7

Modified Files:
	CMakeLists.txt 
Log Message:
ENH: switch to new install commands to match book text


Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/Tutorial/Step7/CMakeLists.txt,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- CMakeLists.txt	8 Nov 2007 15:38:26 -0000	1.1
+++ CMakeLists.txt	13 Nov 2007 16:11:03 -0000	1.2
@@ -35,8 +35,9 @@
 target_link_libraries (Tutorial  ${EXTRA_LIBS})
 
 # add the install targets
-install_targets (/bin Tutorial)
-install_files (/include FILES "${PROJECT_BINARY_DIR}/TutorialConfig.h")
+install (TARGETS Tutorial DESTINATION bin)
+install (FILES "${PROJECT_BINARY_DIR}/TutorialConfig.h" 
+  DESTINATION include)
 
 # enable testing
 enable_testing ()



More information about the Cmake-commits mailing list