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 9c84eff616
commit 687195d064
1 changed files with 1 additions and 1 deletions

View File

@ -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)