diff options
author | Ken Martin <ken.martin@kitware.com> | 2007-11-13 16:11:03 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2007-11-13 16:11:03 (GMT) |
commit | 58f0cad472e8f23563bc51ae579f15f2d02f50a9 (patch) | |
tree | 2a86bb1beb19800f03270013a2dec76aef0f4583 /Tests/Tutorial/Step3 | |
parent | 47c53e867fbfaedf5c7d899d4a4900cceb3305e5 (diff) | |
download | CMake-58f0cad472e8f23563bc51ae579f15f2d02f50a9.zip CMake-58f0cad472e8f23563bc51ae579f15f2d02f50a9.tar.gz CMake-58f0cad472e8f23563bc51ae579f15f2d02f50a9.tar.bz2 |
ENH: switch to new install commands to match book text
Diffstat (limited to 'Tests/Tutorial/Step3')
-rw-r--r-- | Tests/Tutorial/Step3/CMakeLists.txt | 5 | ||||
-rw-r--r-- | Tests/Tutorial/Step3/MathFunctions/CMakeLists.txt | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/Tests/Tutorial/Step3/CMakeLists.txt b/Tests/Tutorial/Step3/CMakeLists.txt index a5009f1..5481bce 100644 --- a/Tests/Tutorial/Step3/CMakeLists.txt +++ b/Tests/Tutorial/Step3/CMakeLists.txt @@ -30,8 +30,9 @@ add_executable (Tutorial tutorial.cxx) 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 diff --git a/Tests/Tutorial/Step3/MathFunctions/CMakeLists.txt b/Tests/Tutorial/Step3/MathFunctions/CMakeLists.txt index 329c204..f386036 100644 --- a/Tests/Tutorial/Step3/MathFunctions/CMakeLists.txt +++ b/Tests/Tutorial/Step3/MathFunctions/CMakeLists.txt @@ -1,4 +1,4 @@ add_library(MathFunctions mysqrt.cxx) -install_targets (/bin MathFunctions) -install_files (/include FILES MathFunctions.h) +install (TARGETS MathFunctions DESTINATION bin) +install (FILES MathFunctions.h DESTINATION include) |