summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeLists.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-02-21 14:59:29 (GMT)
committerBrad King <brad.king@kitware.com>2013-02-22 13:25:06 (GMT)
commit55f0148d7b2b5815add052d00b9835dd9c16feae (patch)
treea87b1e7b05667cbf54b1882e1eb3797794f37b14 /Tests/CMakeLists.txt
parentd45eb35350abc72887784802f1e093ad1c4ff5b2 (diff)
downloadCMake-55f0148d7b2b5815add052d00b9835dd9c16feae.zip
CMake-55f0148d7b2b5815add052d00b9835dd9c16feae.tar.gz
CMake-55f0148d7b2b5815add052d00b9835dd9c16feae.tar.bz2
ExternalData: Test content link with a space in its name
Extend the Module.ExternalData test to cover a DATA{} reference whose name contains a space. Skip the case when the native build tool does not support spaces.
Diffstat (limited to 'Tests/CMakeLists.txt')
-rw-r--r--Tests/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt
index d74fffd..13c2aad 100644
--- a/Tests/CMakeLists.txt
+++ b/Tests/CMakeLists.txt
@@ -347,6 +347,7 @@ if(BUILD_TESTING)
--build-project ExternalDataTest
--build-noclean
--force-new-ctest-process
+ --build-options -DMAKE_SUPPORTS_SPACES=${MAKE_SUPPORTS_SPACES}
--test-command ${CMAKE_CTEST_COMMAND} -C \${CTEST_CONFIGURATION_TYPE} -V
)
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/Module/ExternalData")