Skip to content

Commit

Permalink
Generate capstone.pc to the location it is installed from (capstone-e…
Browse files Browse the repository at this point in the history
…ngine#1265)

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

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

* forcing capstone.pc to be generated in the same place it is installed from
  • Loading branch information
deadly-platypus authored and aquynh committed Oct 23, 2018
1 parent 0a39b78 commit c3bc43e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c3bc43e

Please sign in to comment.