Move options for GUI to BasicConfig
This commit is contained in:
parent
2e541286ea
commit
7edccd9f75
|
@ -1,7 +1,6 @@
|
|||
# after including this module, AppConfig must be included
|
||||
|
||||
# enable Qt Widgets GUI
|
||||
option(WIDGETS_GUI "enables/disables building the Qt Widgets GUI: yes (default) or no" ON)
|
||||
if(WIDGETS_GUI)
|
||||
add_definitions(
|
||||
-DGUI_QTWIDGETS
|
||||
|
@ -20,7 +19,6 @@ else()
|
|||
endif()
|
||||
|
||||
# enable Qt Quick GUI
|
||||
option(QUICK_GUI "enables/disables building the Qt Quick GUI: yes (default) or no" ON)
|
||||
if(QUICK_GUI)
|
||||
add_definitions(
|
||||
-DGUI_QTQUICK
|
||||
|
|
Loading…
Reference in New Issue