summaryrefslogtreecommitdiffstats
path: root/Tests/ExternalProject
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2011-01-07 13:04:16 (GMT)
committerDavid Cole <david.cole@kitware.com>2011-01-07 13:04:16 (GMT)
commitd67a5134471dadb8b9578d598002832114a171b4 (patch)
tree2284a8eb4c09efc3dd05842a579364e4bd39f4eb /Tests/ExternalProject
parentd7a87b52a0d5e71f1d3c6bcb58c9bc2ef1f438a9 (diff)
downloadCMake-d67a5134471dadb8b9578d598002832114a171b4.zip
CMake-d67a5134471dadb8b9578d598002832114a171b4.tar.gz
CMake-d67a5134471dadb8b9578d598002832114a171b4.tar.bz2
ExternalProject: Replace location tags in CMAKE_CACHE_ARGS
When we added CMAKE_CACHE_ARGS, we did not try it with any <SOURCE_DIR> or <INSTALL_DIR> references. This commit fixes that accidental omission.
Diffstat (limited to 'Tests/ExternalProject')
-rw-r--r--Tests/ExternalProject/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tests/ExternalProject/CMakeLists.txt b/Tests/ExternalProject/CMakeLists.txt
index a878194..5158f31 100644
--- a/Tests/ExternalProject/CMakeLists.txt
+++ b/Tests/ExternalProject/CMakeLists.txt
@@ -115,7 +115,8 @@ if(can_build_tutorial_step5)
set(proj TutorialStep5-Local)
ExternalProject_Add(${proj}
URL "${CMAKE_CURRENT_SOURCE_DIR}/../Tutorial/Step5"
- CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=<INSTALL_DIR> -G ${CMAKE_GENERATOR} <SOURCE_DIR>
+ CMAKE_CACHE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=<INSTALL_DIR>
+ CMAKE_ARGS -G ${CMAKE_GENERATOR} <SOURCE_DIR>
TEST_BEFORE_INSTALL 1
LOG_INSTALL 1
)