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})