Use GNUInstallDirs for the headers too (#1570)

This commit is contained in:
Schrijvers Luc 2019-12-15 17:34:21 +01:00 committed by Nguyen Anh Quynh
parent d74d37f4c8
commit 7a2357ec3b
1 changed files with 1 additions and 1 deletions

View File

@ -655,7 +655,7 @@ source_group("Include\\RISCV" FILES ${HEADERS_RISCV})
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)