diff options
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( |