if (APPLE)
set(GTKGLEXT_GIT_TAG macos)
+ set(GTKGLEXT_CFLAGS "${GTKGLEXT_CFLAGS} -DGL_SILENCE_DEPRECATION=1")
else ()
set(GTKGLEXT_GIT_TAG fixes)
endif ()
CONFIGURE_COMMAND export LDFLAGS=${GTKGLEXT_LDFLAGS}
CONFIGURE_COMMAND && NOCONFIGURE=1 ./autogen.sh
CONFIGURE_COMMAND && ./configure --prefix "${BUILTINS_INSTALL_DIR}" ${CONFIGURE_OPTIONS}
- BUILD_COMMAND GL_SILENCE_DEPRECATION=1
- BUILD_COMMAND && $(MAKE) CFLAGS=${GTKGLEXT_CFLAGS} LDFLAGS=${GTKGLEXT_LDFLAGS}
+ BUILD_COMMAND $(MAKE) CFLAGS=${GTKGLEXT_CFLAGS} LDFLAGS=${GTKGLEXT_LDFLAGS}
INSTALL_COMMAND $(MAKE) install
)