From 803b4127d879623d696498727b50b555ff57a3dc Mon Sep 17 00:00:00 2001 From: Georg Altmann Date: Wed, 12 Nov 2014 12:11:25 +0100 Subject: [PATCH] add missing double quotes in CMakeLists.txt --- lib/cilk/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/cilk/CMakeLists.txt b/lib/cilk/CMakeLists.txt index 188c767da16..2650225161d 100644 --- a/lib/cilk/CMakeLists.txt +++ b/lib/cilk/CMakeLists.txt @@ -101,7 +101,7 @@ if(CMAKE_SYSTEM_NAME MATCHES "Darwin") list(APPEND COMMON_FLAGS -D_DARWIN_C_SOURCE) endif() -string(TOUPPER ${CMAKE_BUILD_TYPE} BUILD_TYPE) +string(TOUPPER "${CMAKE_BUILD_TYPE}" BUILD_TYPE) # Set CILKRTS_DEBUG=1 to debug the runtime itself. set(CILKRTS_DEBUG 0 CACHE BOOL "Enable debugging the cilk runtime") @@ -122,9 +122,9 @@ else() list(APPEND COMMON_FLAGS -DNDEBUG) endif() -string(REPLACE " " ";" CFLAGS ${CMAKE_C_FLAGS_${BUILD_TYPE}}) +string(REPLACE " " ";" CFLAGS "${CMAKE_C_FLAGS_${BUILD_TYPE}}") list(APPEND CFLAGS "-std=c99") -string(REPLACE " " ";" CXXFLAGS ${CMAKE_CXX_FLAGS_${BUILD_TYPE}}) +string(REPLACE " " ";" CXXFLAGS "${CMAKE_CXX_FLAGS_${BUILD_TYPE}}") # Build objects using the newly built clang. set(out_objs)