Adding quotes to avoid warnings on Windows
authorhristov <Peter.Hristov@cern.ch>
Wed, 17 Dec 2014 08:04:14 +0000 (09:04 +0100)
committerhristov <Peter.Hristov@cern.ch>
Wed, 17 Dec 2014 08:04:27 +0000 (09:04 +0100)
cmake/CMakeALICE.cmake

index 3e44a14..5eb869c 100644 (file)
@@ -41,7 +41,7 @@ macro(generate_dictionary DNAME LDNAME DHDRS DINCDIRS)
     
     # Get the definitions from the directory to be sent to CINT
     get_directory_property(tmpdirdefs DEFINITIONS)
-    string(REPLACE " " ";" tmpdirdefs ${tmpdirdefs})
+    string(REPLACE " " ";" tmpdirdefs "${tmpdirdefs}")
 
     add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/G__${DNAME}.cxx ${CMAKE_CURRENT_BINARY_DIR}/G__${DNAME}.h
                        COMMAND LD_LIBRARY_PATH=${ROOT_LIBDIR}:$ENV{LD_LIBRARY_PATH} ${ROOT_CINT}