Use GNUInstallDirs for the headers too (#1570)
This commit is contained in:
parent
d74d37f4c8
commit
7a2357ec3b
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue