diff --git a/libraries/CMakeLists.txt b/libraries/CMakeLists.txt index 39598ea008..e61de8cafc 100644 --- a/libraries/CMakeLists.txt +++ b/libraries/CMakeLists.txt @@ -1,2 +1,2 @@ -install(DIRECTORY ${CMAKE_SOURCE_DIR}/libraries/ +install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/ DESTINATION "${CMAKE_INSTALL_PREFIX}/libraries" MESSAGE_NEVER) diff --git a/resources/CMakeLists.txt b/resources/CMakeLists.txt index 76b12e9e4d..1784922277 100644 --- a/resources/CMakeLists.txt +++ b/resources/CMakeLists.txt @@ -1,2 +1,2 @@ -install(DIRECTORY ${CMAKE_SOURCE_DIR}/resources/ +install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/ DESTINATION "${CMAKE_INSTALL_PREFIX}/resources" MESSAGE_NEVER)