From b92c461147778140680018ecab709dcf7136d4e7 Mon Sep 17 00:00:00 2001 From: kai Date: Sun, 9 Dec 2012 19:30:51 +0100 Subject: [PATCH] Add parenthesis in set_source_files_properties to avoid breakage on Windows. --- runtime/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/CMakeLists.txt b/runtime/CMakeLists.txt index 538500e7..579b054f 100644 --- a/runtime/CMakeLists.txt +++ b/runtime/CMakeLists.txt @@ -306,7 +306,7 @@ macro(build_runtime d_flags c_flags ld_flags lib_suffix path_suffix) # Always build zlib and other C parts of the runtime in release mode. set_source_files_properties(${CORE_C} ${DCRT_C} PROPERTIES - COMPILE_FLAGS ${CMAKE_C_FLAGS} ${CMAKE_C_FLAGS_RELEASE} + COMPILE_FLAGS "${CMAKE_C_FLAGS} ${CMAKE_C_FLAGS_RELEASE}" ) if(EXISTS ${RUNTIME_DIR})