X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/91955eb0c8e6618f04e5efcd2cbec864f4e5f6c4..e4a7551b134a2a6727a10a61c8b0069b95100b39:/buildtools/Cmake/Distrib.cmake diff --git a/buildtools/Cmake/Distrib.cmake b/buildtools/Cmake/Distrib.cmake index f22e55cf8b..fc9818aec5 100755 --- a/buildtools/Cmake/Distrib.cmake +++ b/buildtools/Cmake/Distrib.cmake @@ -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)