mirror of
https://github.com/rizinorg/cutter.git
synced 2025-01-31 08:37:26 +00:00
Use correct shiboken executable in CMake
This commit is contained in:
parent
804bd5ef08
commit
2b8a0df4cc
@ -141,7 +141,7 @@ if(CUTTER_ENABLE_PYTHON_BINDINGS)
|
|||||||
include_directories("${CMAKE_CURRENT_SOURCE_DIR}/plugins")
|
include_directories("${CMAKE_CURRENT_SOURCE_DIR}/plugins")
|
||||||
|
|
||||||
add_custom_command(OUTPUT ${BINDINGS_SOURCE}
|
add_custom_command(OUTPUT ${BINDINGS_SOURCE}
|
||||||
COMMAND shiboken2 --project-file="${BINDINGS_BUILD_DIR}/bindings.txt"
|
COMMAND "${SHIBOKEN_BINARY}" --project-file="${BINDINGS_BUILD_DIR}/bindings.txt"
|
||||||
DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/bindings/bindings.xml"
|
DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/bindings/bindings.xml"
|
||||||
IMPLICIT_DEPENDS CXX "${CMAKE_CURRENT_SOURCE_DIR}/bindings/bindings.h"
|
IMPLICIT_DEPENDS CXX "${CMAKE_CURRENT_SOURCE_DIR}/bindings/bindings.h"
|
||||||
COMMENT "Generating Python bindings with shiboken2")
|
COMMENT "Generating Python bindings with shiboken2")
|
||||||
|
Loading…
Reference in New Issue
Block a user