From 1a1824df7ac798177a521eed952720681b0bf482 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=20Skjelsb=C3=A6k?= Date: Sat, 23 Nov 2024 17:07:10 +0100 Subject: [PATCH] Using CMAKE_INSTALL_INCLUDEDIR for installing includes. (#391) --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}" )