summaryrefslogtreecommitdiffstats
path: root/Tests/Module/GenerateExportHeader
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2011-08-24 17:50:31 (GMT)
committerStephen Kelly <steveire@gmail.com>2011-08-24 17:50:31 (GMT)
commit7ac0ab1f88b66d162a89d055517551b3b7ecd8a6 (patch)
treed4ef53c6e35479ca5c059850d64a5e55684cdb89 /Tests/Module/GenerateExportHeader
parent89108b99eca60cfa71cee9727f3af052f5b9da4c (diff)
downloadCMake-7ac0ab1f88b66d162a89d055517551b3b7ecd8a6.zip
CMake-7ac0ab1f88b66d162a89d055517551b3b7ecd8a6.tar.gz
CMake-7ac0ab1f88b66d162a89d055517551b3b7ecd8a6.tar.bz2
Quote paths in case there is a space in one of them.
Diffstat (limited to 'Tests/Module/GenerateExportHeader')
-rw-r--r--Tests/Module/GenerateExportHeader/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/Tests/Module/GenerateExportHeader/CMakeLists.txt b/Tests/Module/GenerateExportHeader/CMakeLists.txt
index dc72689..9141471 100644
--- a/Tests/Module/GenerateExportHeader/CMakeLists.txt
+++ b/Tests/Module/GenerateExportHeader/CMakeLists.txt
@@ -65,7 +65,7 @@ macro(_do_build Include Library LibrarySource Source)
"set(CMAKE_INCLUDE_CURRENT_DIR ON)\n"
- "set(CMAKE_RUNTIME_OUTPUT_DIRECTORY \${CMAKE_CURRENT_BINARY_DIR})\n"
+ "set(CMAKE_RUNTIME_OUTPUT_DIRECTORY \"\${CMAKE_CURRENT_BINARY_DIR}\")\n"
"include(GenerateExportHeader)\n"
@@ -79,9 +79,9 @@ macro(_do_build Include Library LibrarySource Source)
" add_definitions(-DCOMPILER_IS_MSVC)\n"
"endif()\n"
- "add_subdirectory(${LibrarySource})\n"
+ "add_subdirectory(\"${LibrarySource}\")\n"
- "include_directories(${LibrarySource} \${CMAKE_CURRENT_BINARY_DIR}/${LibrarySource})\n"
+ "include_directories(\"${LibrarySource}\" \"\${CMAKE_CURRENT_BINARY_DIR}/${LibrarySource}\")\n"
"${CONDITIONAL_STATIC_DEFINE}"