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.
pull/456/head
Manuel Riecke 2020-09-19 13:23:21 +02:00
parent c9a740be34
commit 2007e6f81e
1 changed files with 1 additions and 1 deletions

View File

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