summaryrefslogtreecommitdiffstats
path: root/Modules/Platform
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-10-13 15:32:37 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-10-13 15:32:37 (GMT)
commit5d4bdcf942477eaeec814801665cfc2f52a92a12 (patch)
treed74162f523257d044b0bab47f4153b91231c2be9 /Modules/Platform
parentc17be8d126ef410217506537147bd9b28e7b3023 (diff)
downloadCMake-5d4bdcf942477eaeec814801665cfc2f52a92a12.zip
CMake-5d4bdcf942477eaeec814801665cfc2f52a92a12.tar.gz
CMake-5d4bdcf942477eaeec814801665cfc2f52a92a12.tar.bz2
ERR: allow spaces in the path
Diffstat (limited to 'Modules/Platform')
-rw-r--r--Modules/Platform/Windows-cl.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Platform/Windows-cl.cmake b/Modules/Platform/Windows-cl.cmake
index 9e31f59..7a892e4 100644
--- a/Modules/Platform/Windows-cl.cmake
+++ b/Modules/Platform/Windows-cl.cmake
@@ -76,7 +76,7 @@ ENDIF(CMAKE_GENERATOR MATCHES "Visual Studio 7")
SET(CMAKE_COMPILER_SUPPORTS_PDBTYPE 1)
IF(CMAKE_GENERATOR MATCHES "NMake Makefiles")
EXEC_PROGRAM(${CMAKE_CXX_COMPILER}
- ARGS /nologo -EP ${CMAKE_ROOT}/Modules/CMakeTestNMakeCLVersion.c
+ ARGS /nologo -EP "${CMAKE_ROOT}/Modules/CMakeTestNMakeCLVersion.c"
OUTPUT_VARIABLE CMAKE_COMPILER_OUTPUT
RETURN_VALUE CMAKE_COMPILER_RETURN
)