From 2007e6f81ece5421ce000abf9b66a4ef03d3c158 Mon Sep 17 00:00:00 2001 From: Manuel Riecke Date: Sat, 19 Sep 2020 13:23:21 +0200 Subject: [PATCH] Fix CMake failing to generate the bindings. A new parameter was added to the binding_generator python file, but the CMake file was not adjusted. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d259403d..947dc8d9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -132,7 +132,7 @@ endif() # Generate source from the bindings file message(STATUS "Generating Bindings") -execute_process(COMMAND "python" "-c" "import binding_generator; binding_generator.generate_bindings(\"${GODOT_CUSTOM_API_FILE}\")" +execute_process(COMMAND "python" "-c" "import binding_generator; binding_generator.generate_bindings(\"${GODOT_CUSTOM_API_FILE}\", True)" WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} RESULT_VARIABLE GENERATION_RESULT OUTPUT_VARIABLE GENERATION_OUTPUT)