summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-01-29 12:57:24 (GMT)
committerBrad King <brad.king@kitware.com>2008-01-29 12:57:24 (GMT)
commit3630a4e4e726ae7d6a19d4e13ef276e33f2def75 (patch)
treebcdb601e6857e3ae837844f8965f88f12cd97362 /Tests
parentb4b9e1d44b7804111c85c9c8e9bbfafdf149c3c0 (diff)
downloadCMake-3630a4e4e726ae7d6a19d4e13ef276e33f2def75.zip
CMake-3630a4e4e726ae7d6a19d4e13ef276e33f2def75.tar.gz
CMake-3630a4e4e726ae7d6a19d4e13ef276e33f2def75.tar.bz2
BUG: Make sure CMAKE_INSTALL_PREFIX stays in subproject caches.
Diffstat (limited to 'Tests')
-rw-r--r--Tests/ExportImport/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/ExportImport/CMakeLists.txt b/Tests/ExportImport/CMakeLists.txt
index 53012ae..4795e68 100644
--- a/Tests/ExportImport/CMakeLists.txt
+++ b/Tests/ExportImport/CMakeLists.txt
@@ -31,7 +31,7 @@ add_custom_command(
-DCMAKE_C_FLAGS_RELEASE:STRING=${CMAKE_C_FLAGS_RELEASE}
-DCMAKE_C_FLAGS_MINSIZEREL:STRING=${CMAKE_C_FLAGS_MINSIZEREL}
-DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING=${CMAKE_C_FLAGS_RELWITHDEBINFO}
- -DCMAKE_INSTALL_PREFIX=${ExportImport_BINARY_DIR}/Root
+ -DCMAKE_INSTALL_PREFIX:STRING=${ExportImport_BINARY_DIR}/Root
)
add_custom_target(ExportTarget ALL DEPENDS ${ExportImport_BINARY_DIR}/ExportProject)
add_dependencies(ExportTarget CleanupTarget)
@@ -59,7 +59,7 @@ add_custom_command(
-DCMAKE_C_FLAGS_RELEASE:STRING=${CMAKE_C_FLAGS_RELEASE}
-DCMAKE_C_FLAGS_MINSIZEREL:STRING=${CMAKE_C_FLAGS_MINSIZEREL}
-DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING=${CMAKE_C_FLAGS_RELWITHDEBINFO}
- -DCMAKE_INSTALL_PREFIX=${ExportImport_BINARY_DIR}/Root
+ -DCMAKE_INSTALL_PREFIX:STRING=${ExportImport_BINARY_DIR}/Root
)
add_custom_target(ImportTarget ALL DEPENDS ${ExportImport_BINARY_DIR}/ImportProject)
add_dependencies(ImportTarget ExportTarget)