Generate capstone.pc to the location it is installed from (#1265)

* forcing capstone.pc to be generated in the same place it is installed from

* x86: fix operand access of SETE & SETNE (#1262)

* forcing capstone.pc to be generated in the same place it is installed from
This commit is contained in:
Derrick McKee 2018-10-23 18:42:36 -04:00 committed by Nguyen Anh Quynh
parent 0a39b785d3
commit c3bc43e354
1 changed files with 1 additions and 1 deletions

View File

@ -589,7 +589,7 @@ mark_as_advanced(INSTALL_LIB_DIR)
## installation
install(FILES ${HEADERS_COMMON} DESTINATION include/capstone)
configure_file(capstone.pc.in capstone.pc @ONLY)
configure_file(capstone.pc.in ${CMAKE_BINARY_DIR}/capstone.pc @ONLY)
if (CAPSTONE_BUILD_STATIC)
install(TARGETS capstone-static