You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CMake: Add service, desktop, and icon files for Linux-like systems
These files are lifted from the ladybird-gtk4 repository and adapted
to work with the Qt UI port. They are installed by default on Linux, but
can be installed via a CMake option on other platforms.
Co-Authored-By: Sergey Bugaev <bugaevc@serenityos.org>
Co-Authored-By: Nicolas Ramz <nicolas.ramz@adevinta.com>
Co-Authored-By: Beckett Normington <beckett@b0ba.dev>
Co-Authored-By: Xexxa <93391300+Xexxa@users.noreply.github.com>
Copy file name to clipboardExpand all lines: Meta/CMake/common_options.cmake
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -32,8 +32,15 @@ ladybird_option(ENABLE_NETWORK_DOWNLOADS ON CACHE BOOL "Allow downloads of requi
32
32
ladybird_option(ENABLE_CLANG_PLUGINS OFFCACHEBOOL"Enable building with the Clang plugins")
33
33
ladybird_option(ENABLE_CLANG_PLUGINS_INVALID_FUNCTION_MEMBERS OFFCACHEBOOL"Enable detecting invalid function types as members of GC-allocated objects")
34
34
35
+
if (LINUX ANDNOT ANDROID)
36
+
set(freedesktop_files_default ON)
37
+
else()
38
+
set(freedesktop_files_default OFF)
39
+
endif()
40
+
35
41
ladybird_option(ENABLE_GUI_TARGETS ONCACHEBOOL"Enable building GUI targets")
0 commit comments