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
parent
c9a740be34
commit
2007e6f81e
|
@ -132,7 +132,7 @@ endif()
|
||||||
|
|
||||||
# Generate source from the bindings file
|
# Generate source from the bindings file
|
||||||
message(STATUS "Generating Bindings")
|
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}
|
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
RESULT_VARIABLE GENERATION_RESULT
|
RESULT_VARIABLE GENERATION_RESULT
|
||||||
OUTPUT_VARIABLE GENERATION_OUTPUT)
|
OUTPUT_VARIABLE GENERATION_OUTPUT)
|
||||||
|
|
Loading…
Reference in New Issue