diff options
author | Brad King <brad.king@kitware.com> | 2006-02-19 23:47:13 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2006-02-19 23:47:13 (GMT) |
commit | 518080136d2b643b2b27ae1ef69cee28306c2f81 (patch) | |
tree | 3e57cf1c6f7943dcff3bb879e0da13bc01f97412 /Tests | |
parent | 4140f4a6faa63042cdb5378061cf8d30040a7dd1 (diff) | |
download | CMake-518080136d2b643b2b27ae1ef69cee28306c2f81.zip CMake-518080136d2b643b2b27ae1ef69cee28306c2f81.tar.gz CMake-518080136d2b643b2b27ae1ef69cee28306c2f81.tar.bz2 |
ENH: Implemented FILES and PROGRAMS forms of the INSTALL command as replacements for the INSTALL_FILES and INSTALL_PROGRAMS commands. This addresses the request for absolute path install destinations in bug#2691.
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/SimpleInstall/CMakeLists.txt | 3 | ||||
-rw-r--r-- | Tests/SimpleInstallS2/CMakeLists.txt | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/Tests/SimpleInstall/CMakeLists.txt b/Tests/SimpleInstall/CMakeLists.txt index f8ab86a..a12fdcd 100644 --- a/Tests/SimpleInstall/CMakeLists.txt +++ b/Tests/SimpleInstall/CMakeLists.txt @@ -90,7 +90,8 @@ ELSE(STAGE2) INSTALL(TARGETS SimpleInstall test1 test2 test3 test4 RUNTIME DESTINATION bin LIBRARY DESTINATION lib) - INSTALL_FILES(/include FILES lib1.h lib2.h lib3.h) + INSTALL(FILES lib1.h lib2.h DESTINATION include) + INSTALL_FILES(/include FILES lib3.h) # Test user-specified install scripts. INSTALL( diff --git a/Tests/SimpleInstallS2/CMakeLists.txt b/Tests/SimpleInstallS2/CMakeLists.txt index f8ab86a..a12fdcd 100644 --- a/Tests/SimpleInstallS2/CMakeLists.txt +++ b/Tests/SimpleInstallS2/CMakeLists.txt @@ -90,7 +90,8 @@ ELSE(STAGE2) INSTALL(TARGETS SimpleInstall test1 test2 test3 test4 RUNTIME DESTINATION bin LIBRARY DESTINATION lib) - INSTALL_FILES(/include FILES lib1.h lib2.h lib3.h) + INSTALL(FILES lib1.h lib2.h DESTINATION include) + INSTALL_FILES(/include FILES lib3.h) # Test user-specified install scripts. INSTALL( |