From: Martin Quinson Date: Tue, 21 Aug 2018 14:46:26 +0000 (+0200) Subject: Avoid installing stuff under /usr/includes4u/ X-Git-Tag: v3_21~223 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/444729e5a96f255d25524754cf0b6c11a057e6b6 Avoid installing stuff under /usr/includes4u/ --- diff --git a/tools/cmake/Distrib.cmake b/tools/cmake/Distrib.cmake index d85418fe27..5a0fc10dc3 100644 --- a/tools/cmake/Distrib.cmake +++ b/tools/cmake/Distrib.cmake @@ -67,7 +67,7 @@ endif() # include files foreach(file ${headers_to_install} ${generated_headers_to_install}) get_filename_component(location ${file} PATH) - string(REPLACE "${CMAKE_CURRENT_BINARY_DIR}/" "" location "${location}") + string(REPLACE "${CMAKE_CURRENT_BINARY_DIR}" "" location "${location}") install(FILES ${file} DESTINATION ${location}) endforeach()