ERR: allow spaces in the path
This commit is contained in:
parent
c17be8d126
commit
5d4bdcf942
|
@ -76,7 +76,7 @@ ENDIF(CMAKE_GENERATOR MATCHES "Visual Studio 7")
|
||||||
SET(CMAKE_COMPILER_SUPPORTS_PDBTYPE 1)
|
SET(CMAKE_COMPILER_SUPPORTS_PDBTYPE 1)
|
||||||
IF(CMAKE_GENERATOR MATCHES "NMake Makefiles")
|
IF(CMAKE_GENERATOR MATCHES "NMake Makefiles")
|
||||||
EXEC_PROGRAM(${CMAKE_CXX_COMPILER}
|
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
|
OUTPUT_VARIABLE CMAKE_COMPILER_OUTPUT
|
||||||
RETURN_VALUE CMAKE_COMPILER_RETURN
|
RETURN_VALUE CMAKE_COMPILER_RETURN
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue