Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Cosmetics.
[simgrid.git] / buildtools / Cmake / Distrib.cmake
index f22e55c..fc9818a 100755 (executable)
@@ -180,7 +180,7 @@ add_custom_target(dist-dir
 set(dirs_in_tarball "")
 foreach(file ${source_to_pack})
   # This damn prefix is still set somewhere (seems to be in subdirs)
-  string(REPLACE "${PROJECT_DIRECTORY}/" "" file ${file})
+  string(REPLACE "${PROJECT_DIRECTORY}/" "" file "${file}")
   
   # Create the directory on need
   get_filename_component(file_location ${file} PATH)