Skip to content

Commit

Permalink
explicit source dir
Browse files Browse the repository at this point in the history
  • Loading branch information
andiwand committed Feb 9, 2025
1 parent 77ec1a6 commit 7d7d5b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ endif ()
include(GNUInstallDirs)

install(
DIRECTORY src/ ${CMAKE_CURRENT_BINARY_DIR}/src/
DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/src/ ${CMAKE_CURRENT_BINARY_DIR}/src/
DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}"
FILES_MATCHING PATTERN "*.hpp"
)
Expand All @@ -265,6 +265,6 @@ install(
ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}"
)
install(
DIRECTORY resources/dist/
DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/resources/dist/
DESTINATION "${CMAKE_INSTALL_DATADIR}"
)

0 comments on commit 7d7d5b0

Please sign in to comment.