From 575952d22e79ae79c3b2e7ddd99207b2f74ecc81 Mon Sep 17 00:00:00 2001 From: bartoszek Date: Mon, 30 May 2022 13:04:34 +0200 Subject: [PATCH] Add missing Rizin headers in python bindings (#2943) --- src/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 4fb5d4d4..47357c69 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -503,6 +503,10 @@ if(CUTTER_ENABLE_PYTHON) target_link_libraries(Cutter PRIVATE Shiboken2::libshiboken PySide2::pyside2) get_target_property(RAW_BINDINGS_INCLUDE_DIRS Cutter INCLUDE_DIRECTORIES) + if(NOT CUTTER_USE_BUNDLED_RIZIN) + get_target_property(RAW_RIZIN_INCLUDE_DIRS ${RIZIN_TARGET} INTERFACE_INCLUDE_DIRECTORIES) + list(APPEND RAW_BINDINGS_INCLUDE_DIRS "${RAW_RIZIN_INCLUDE_DIRS}") + endif() set(BINDINGS_INCLUDE_DIRS "") foreach(_dir ${RAW_BINDINGS_INCLUDE_DIRS}) string(REGEX REPLACE "\\$" "\\1" _dir ${_dir})