diff --git a/CMakeLists.txt b/CMakeLists.txt index d02af0718..cf41320c0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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}" )