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

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/Step5
In directory public:/mounts/ram/cvs-serv19538/Step5

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/Step5/CMakeLists.txt,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- CMakeLists.txt	10 Nov 2005 17:02:56 -0000	1.2
+++ CMakeLists.txt	13 Nov 2007 16:11:03 -0000	1.3
@@ -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