Skip to content

Commit

Permalink
Using CMAKE_INSTALL_INCLUDEDIR for installing includes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Skjelsbek committed Nov 21, 2024
1 parent 06741ec commit 20764c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ if(MAGIC_ENUM_OPT_INSTALL)

install(
DIRECTORY ${PROJECT_SOURCE_DIR}/include/${PROJECT_NAME}
DESTINATION include
DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}"
FILES_MATCHING
PATTERN "${PROJECT_INCLUDE_HEADER_PATTERN}"
)
Expand Down

0 comments on commit 20764c4

Please sign in to comment.