Remove unused GNOME cmake flags

There are no longer any Gnome dependencies
This commit is contained in:
Richard Cohen committed 2023-01-31 16:25:03 +00:00
1 parent dbdb5cb9d1
commit 351990cf47
2 files changed
-10

No files matched your search

-4
View File
@@ -54,7 +54,6 @@ option (ENABLE_BINRELOC "compile with binary relocation support" ON)
option (DISABLE_NLS "do not use Native Language Support" OFF)
option (DISABLE_DEPRECATED_GLIB "don't use deprecated glib functions" OFF)
option (DISABLE_DEPRECATED_GTK "don't use deprecated gtk, gdk or gdk-pixbuf functions" OFF)
option (DISABLE_DEPRECATED_GNOME "don't use deprecated gnome functions" OFF)
# ############################################################
# These are also settable from the command line in a similar way.
@@ -773,9 +772,6 @@ set(PLATFORM_OSX 1)
set(HAVE_OSX_KEYCHAIN 1)
endif()
if(DISABLE_DEPRECATED_GNOME)
set(GNOME_DISABLE_DEPRECATED 1)
endif()
if(DISABLE_DEPRECATED_GTK)
set(GTK_DISABLE_DEPRECATED 1)
-6
View File
@@ -43,12 +43,6 @@
/* Microsoft Windows OS */
#cmakedefine GNC_PLATFORM_WINDOWS 1
/* using GNOME */
#cmakedefine GNOME
/* Don't use deprecated gnome functions */
#cmakedefine GNOME_DISABLE_DEPRECATED
/* GnuCash build identification, which defaults to a description of the vcs
commit from which gnucash is built. Distributions may want to insert a
package management based version string instead. */