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
Copy file name to clipboardExpand all lines: gconf-migration/CMakeLists.txt
+10-1
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,15 @@
1
1
# SPDX-License-Identifier: GPL-2.0-or-later
2
-
pkg_check_modules(GCONF2 REQUIRED gconf-2.0)
3
2
pkg_check_modules(GIO REQUIRED gio-2.0)
3
+
pkg_check_modules(GCONF2 gconf-2.0)
4
+
if(NOT GCONF2_FOUND)
5
+
if(ALLOW_MISSING_GCONF)
6
+
message(WARNING "GConf was not found but the package will still be built.\nIf you want to migrate old alarms created by alarm-clock-applet < 0.4.0, please install GConf and re-run CMake/rebuild the package.")
message(FATAL_ERROR "GConf not found.\nPlease install it or pass `-DENABLE_GCONF_MIGRATION=OFF` if you do not want to migrate alarms created by alarm-clock-applet < 0.4.0.")
0 commit comments