GIT_REPOSITORY https://gitlab.gnome.org/illwieckz/gtkglext.git
GIT_TAG ${GTKGLEXT_GIT_TAG}
BUILD_IN_SOURCE ON
- CONFIGURE_COMMAND export CFLAGS=${GTKGLEXT_LDFLAGS}
+ CONFIGURE_COMMAND export CC=${CMAKE_C_COMPILER}
+ CONFIGURE_COMMAND && export CFLAGS=${GTKGLEXT_LDFLAGS}
CONFIGURE_COMMAND && export LDFLAGS=${GTKGLEXT_CFLAGS}
CONFIGURE_COMMAND && export NOCONFIGURE=1
CONFIGURE_COMMAND && ./autogen.sh
CONFIGURE_COMMAND && ./configure --prefix "${BUILTINS_INSTALL_DIR}" ${CONFIGURE_OPTIONS}
BUILD_COMMAND $(MAKE)
+ BUILD_COMMAND CC=${CMAKE_C_COMPILER}
BUILD_COMMAND CFLAGS=${GTKGLEXT_CFLAGS}
BUILD_COMMAND LDFLAGS=${GTKGLEXT_LDFLAGS}
INSTALL_COMMAND $(MAKE) install