1
0
Fork 0

Fix quoting for older cmake versions

This commit is contained in:
Wilfried Goesgens 2016-10-11 19:24:45 +02:00
parent 4b2fb9ff0d
commit 05539e36ff
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ endif()
macro(to_native_path sourceVarName)
if (MSVC)
string(REGEX REPLACE "/" "\\\\\\\\" myVar ${${sourceVarName}} )
string(REGEX REPLACE "/" "\\\\\\\\" "myVar" "${${sourceVarName}}" )
else()
set(myVar "${${sourceVarName}}")
endif()