Only build Quartz-specific color picking code on OS X/Quartz builds

This commit is contained in:
Kristian Rietveld
2015-10-04 18:11:16 +02:00
parent e570eb0be4
commit 153b19ac56
2 changed files with 2 additions and 1 deletions

View File

@ -1946,6 +1946,7 @@ if test "x$platform_osx" != xno &&
fi
fi
AM_CONDITIONAL(PLATFORM_OSX_QUARTZ, test "x$gtk_mac_integration_ok" = xyes)
####################################
# Check for Mac OS X TWAIN framework

View File

@ -286,7 +286,7 @@ EXTRA_DIST = \
#
if PLATFORM_OSX
if PLATFORM_OSX_QUARTZ
libgimpwidgets_sources += gimppickbutton-quartz.c
AM_CPPFLAGS += "-xobjective-c"
else