diff --git a/scripts/generate_gui.cmake b/scripts/generate_gui.cmake index 30307b2cc..492de0877 100644 --- a/scripts/generate_gui.cmake +++ b/scripts/generate_gui.cmake @@ -45,7 +45,7 @@ function(generate_gui_add_view ClassName ClassLabel AttributeFileName LogFile) add_custom_command( OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/${LogFile} COMMAND - ${Python_EXECUTABLE} ${CMAKE_SOURCE_DIR}/scripts/ generate_gui_add_view.py + ${Python_EXECUTABLE} ${CMAKE_SOURCE_DIR}/scripts/generate_gui.py ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/genere ${ARGN} ${ClassName} ${ClassLabel} ${AttributeFileName} ${LogFile} WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} VERBATIM