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
start installing some kernel (modern) header files in userland
[simgrid.git]
/
tools
/
cmake
/
Distrib.cmake
diff --git
a/tools/cmake/Distrib.cmake
b/tools/cmake/Distrib.cmake
index
a4ca296
..
334dad9
100644
(file)
--- a/
tools/cmake/Distrib.cmake
+++ b/
tools/cmake/Distrib.cmake
@@
-61,12
+61,12
@@
if(enable_java)
endif()
# include files
endif()
# include files
-set(HEADERS ${headers_to_install} ${generated_headers_to_install})
-foreach(file ${HEADERS})
+foreach(file ${headers_to_install} ${generated_headers_to_install})
get_filename_component(location ${file} PATH)
string(REPLACE "${CMAKE_CURRENT_BINARY_DIR}/" "" location "${location}")
get_filename_component(location ${file} PATH)
string(REPLACE "${CMAKE_CURRENT_BINARY_DIR}/" "" location "${location}")
+ string(REPLACE "src/" "include/simgrid/" location "${location}") # For kernel headers
install(FILES ${file} DESTINATION $ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/${location})
install(FILES ${file} DESTINATION $ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/${location})
-endforeach(
file ${HEADERS}
)
+endforeach()
# example files
foreach(file ${examples_to_install})
# example files
foreach(file ${examples_to_install})