Apply cmake-format
This commit is contained in:
parent
70e6ef4b7b
commit
3a9a9c6f36
|
@ -189,8 +189,9 @@ find_template_file("appdata.xml" CPP_UTILITIES APP_APPSTREAM_TEMPLATE_FILE)
|
||||||
include(CMakeParseArguments)
|
include(CMakeParseArguments)
|
||||||
function (add_custom_desktop_file)
|
function (add_custom_desktop_file)
|
||||||
# skip if not building with GUI support
|
# skip if not building with GUI support
|
||||||
if (NOT META_DESKTOP_FILE_FOR_CLI AND ((NOT DEFINED META_GUI_OPTIONAL OR META_GUI_OPTIONAL) AND NOT (WIDGETS_GUI OR QUICK_GUI)))
|
if (NOT META_DESKTOP_FILE_FOR_CLI AND ((NOT DEFINED META_GUI_OPTIONAL OR META_GUI_OPTIONAL) AND NOT (WIDGETS_GUI
|
||||||
return ()
|
OR QUICK_GUI)))
|
||||||
|
return()
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
# parse arguments
|
# parse arguments
|
||||||
|
@ -227,8 +228,9 @@ endfunction ()
|
||||||
# define function to add *.desktop file and meta info from project meta data
|
# define function to add *.desktop file and meta info from project meta data
|
||||||
function (add_desktop_file)
|
function (add_desktop_file)
|
||||||
# skip if not building with GUI support
|
# skip if not building with GUI support
|
||||||
if (NOT META_DESKTOP_FILE_FOR_CLI AND ((NOT DEFINED META_GUI_OPTIONAL OR META_GUI_OPTIONAL) AND NOT (WIDGETS_GUI OR QUICK_GUI)))
|
if (NOT META_DESKTOP_FILE_FOR_CLI AND ((NOT DEFINED META_GUI_OPTIONAL OR META_GUI_OPTIONAL) AND NOT (WIDGETS_GUI
|
||||||
return ()
|
OR QUICK_GUI)))
|
||||||
|
return()
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
# compose actions
|
# compose actions
|
||||||
|
|
Loading…
Reference in New Issue