Furter -DLUA=OFF bugfix

This commit is contained in:
Risto
2021-05-15 16:49:13 +02:00
committed by GitHub
parent 3b7d70cc9c
commit a81081c35a
+4 -1
View File
@@ -64,7 +64,6 @@ set(GUI_SRC
menu_screen.cpp
screen_setup.cpp
switch_warn_dialog.cpp
standalone_lua.cpp
)
macro(add_gui_src src)
@@ -74,6 +73,10 @@ macro(add_gui_src src)
)
endmacro(add_gui_src)
if(LUA)
add_gui_src(standalone_lua.cpp)
endif()
if(HELI)
add_gui_src(model_heli.cpp)
endif()