From c3bc43e3549a24613b0d6c88a98fc16e7b7c43c7 Mon Sep 17 00:00:00 2001 From: Derrick McKee Date: Tue, 23 Oct 2018 18:42:36 -0400 Subject: [PATCH] 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 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d21eb1ac..c4848a8c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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