Skip to content

Commit

Permalink
Using CMAKE_INSTALL_INCLUDEDIR for installing includes. (#391)
Browse files Browse the repository at this point in the history
  • Loading branch information
Skjelsbek authored Nov 23, 2024
1 parent 85e05c8 commit 1a1824d
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 1a1824d

Please sign in to comment.