From 8f96e6048e998c0693c4226636097a40c43166e8 Mon Sep 17 00:00:00 2001 From: begasus Date: Sun, 1 Dec 2019 18:36:22 +0100 Subject: [PATCH] Use GNUInstallDirs for the headers too --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b029cd1d7d..ba46d785ad 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -597,7 +597,7 @@ source_group("Include\\MOS65XX" FILES ${HEADERS_MOS65XX}) include("GNUInstallDirs") ## installation -install(FILES ${HEADERS_COMMON} DESTINATION include/capstone) +install(FILES ${HEADERS_COMMON} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/capstone) configure_file(capstone.pc.in ${CMAKE_BINARY_DIR}/capstone.pc @ONLY) if (CAPSTONE_BUILD_STATIC)