diff --git a/CMakeSystemConfig.cmake.in b/CMakeSystemConfig.cmake.in index aac73e013..071704db7 100644 --- a/CMakeSystemConfig.cmake.in +++ b/CMakeSystemConfig.cmake.in @@ -19,7 +19,7 @@ SET (CMAKE_SHLIB_BUILD_FLAGS @CMAKE_SHLIB_BUILD_FLAGS@ CACHE STRING) SET (CMAKE_SHLIB_LD_LIBS @CMAKE_SHLIB_LD_LIBS@ CACHE STRING) SET (CMAKE_SHLIB_SUFFIX @CMAKE_SHLIB_SUFFIX@ CACHE STRING) SET (CMAKE_CPP_FLAGS @CPPFLAGS@ CACHE STRING) -SET (CMAKE_TEMPLATE_FLAGS @CMAKE_TEMPLATE_FLAGS@ CACHE STRING) +SET (CMAKE_TEMPLATE_FLAGS "@CMAKE_TEMPLATE_FLAGS@" CACHE STRING) SET (CMAKE_C_COMPILER @CC@ CACHE FILEPATH) SET (CMAKE_SHLIB_LINK_FLAGS @CMAKE_SHLIB_LINK_FLAGS@ CACHE STRING) SET (CMAKE_LIB_EXT @CMAKE_LIB_EXT@ CACHE STRING)