X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b3efc3a757648f3dfeef76629605f8022d1fc8e0..26bedd979bb768745e0bd26657114ba52b6685be:/buildtools/Cmake/Distrib.cmake diff --git a/buildtools/Cmake/Distrib.cmake b/buildtools/Cmake/Distrib.cmake index 9bb1571bbd..2ca547ba2e 100644 --- a/buildtools/Cmake/Distrib.cmake +++ b/buildtools/Cmake/Distrib.cmake @@ -50,6 +50,7 @@ endif(enable_smpi) # include files foreach(file ${install_HEADERS}) get_filename_component(location ${file} PATH) + string(REPLACE "${CMAKE_CURRENT_BINARY_DIR}/" "" location "${location}") install(FILES ${file} DESTINATION $ENV{DESTDIR}${prefix}/${location}) endforeach(file ${install_HEADERS})