A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix install problem with simgrid_config.h.
[simgrid.git]
/
buildtools
/
Cmake
/
Distrib.cmake
diff --git
a/buildtools/Cmake/Distrib.cmake
b/buildtools/Cmake/Distrib.cmake
index
9bb1571
..
2ca547b
100644
(file)
--- 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)
# 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})
install(FILES ${file}
DESTINATION $ENV{DESTDIR}${prefix}/${location})
endforeach(file ${install_HEADERS})