From 2b8a0df4cc62a496f8eb7506fef1239ad06d45c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=A4rkl?= Date: Sun, 17 Feb 2019 21:47:05 +0100 Subject: [PATCH] Use correct shiboken executable in CMake --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 93021e55..02fc2670 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -141,7 +141,7 @@ if(CUTTER_ENABLE_PYTHON_BINDINGS) include_directories("${CMAKE_CURRENT_SOURCE_DIR}/plugins") 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" IMPLICIT_DEPENDS CXX "${CMAKE_CURRENT_SOURCE_DIR}/bindings/bindings.h" COMMENT "Generating Python bindings with shiboken2")