Permalink
Browse files

Add parenthesis in set_source_files_properties to avoid breakage on W…

…indows.
  • Loading branch information...
1 parent 086221e commit b92c461147778140680018ecab709dcf7136d4e7 @redstar redstar committed Dec 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 runtime/CMakeLists.txt
View
@@ -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})

2 comments on commit b92c461

Owner

klickverbot replied Dec 9, 2012

Oh dear, CMake will drive me crazy at some point…

Owner

redstar replied Dec 9, 2012

:-)

Please sign in to comment.