Skip to content
Snippets Groups Projects
Commit 0e2763ad authored by Vassil Vassilev's avatar Vassil Vassilev
Browse files

Fix the installation of ROOT.

DESTINATION should be followed by a folder, otherwise we install the
headers one level down.
parent df0dd672
No related branches found
No related tags found
No related merge requests found
...@@ -106,7 +106,7 @@ foreach(file module.modulemap.build ...@@ -106,7 +106,7 @@ foreach(file module.modulemap.build
endif() endif()
list(APPEND copy_commands COMMAND ${CMAKE_COMMAND} -E copy ${clinginclude}/cling/${file} ${CMAKE_BINARY_DIR}/etc/cling/${dest_file}) list(APPEND copy_commands COMMAND ${CMAKE_COMMAND} -E copy ${clinginclude}/cling/${file} ${CMAKE_BINARY_DIR}/etc/cling/${dest_file})
list(APPEND files_to_copy ${clinginclude}/cling/${file}) list(APPEND files_to_copy ${clinginclude}/cling/${file})
install(FILES ${clinginclude}/cling/${file} DESTINATION ${CMAKE_INSTALL_SYSCONFDIR}/cling/${path}/${dest_file}) install(FILES ${CMAKE_BINARY_DIR}/etc/cling/${dest_file} DESTINATION ${CMAKE_INSTALL_SYSCONFDIR}/cling/${path})
endforeach() endforeach()
foreach(file multimap multiset) foreach(file multimap multiset)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment