[cmake-commits] david.cole committed CMakeLists.txt 1.5 1.6

cmake-commits at cmake.org cmake-commits at cmake.org
Fri Aug 24 13:30:43 EDT 2007


Update of /cvsroot/CMake/CMake/Tests/Framework
In directory public:/mounts/ram/cvs-serv3394/Tests/Framework

Modified Files:
	CMakeLists.txt 
Log Message:
ENH: Add InstallNameFixupPath to support installing built frameworks on the Mac. Change Application to Applications in the BundleTest. Also correct small typo (tcl->Tcl) noted in bug 4572.


Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/Framework/CMakeLists.txt,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- CMakeLists.txt	14 Aug 2007 15:45:15 -0000	1.5
+++ CMakeLists.txt	24 Aug 2007 17:30:41 -0000	1.6
@@ -27,7 +27,10 @@
 )
 add_executable(bar bar.cxx)
 target_link_libraries(bar foo)
-
+install(TARGETS foo bar
+  RUNTIME DESTINATION /Applications/CMakeTestsFramework/bin
+  FRAMEWORK DESTINATION /Library/Frameworks
+)
 
 # Make a static library and apply the framework properties to it to verify
 # that everything still builds correctly, but it will not actually produce



More information about the Cmake-commits mailing list