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:
parent
0a39b785d3
commit
c3bc43e354
|
@ -589,7 +589,7 @@ mark_as_advanced(INSTALL_LIB_DIR)
|
||||||
|
|
||||||
## installation
|
## installation
|
||||||
install(FILES ${HEADERS_COMMON} DESTINATION include/capstone)
|
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)
|
if (CAPSTONE_BUILD_STATIC)
|
||||||
install(TARGETS capstone-static
|
install(TARGETS capstone-static
|
||||||
|
|
Loading…
Reference in New Issue