move setting of GLM_CFLAGS to configure
Change-Id: Ic9f6165626a8ffc303260c0439010fe7e2ce634b
This commit is contained in:
parent
0da6ba6d3c
commit
1349491d48
4 changed files with 4 additions and 2 deletions
|
@ -157,7 +157,7 @@ else
|
|||
define gb_LinkTarget__use_glm_headers
|
||||
$(call gb_LinkTarget_use_unpacked,$(1),glm)
|
||||
$(call gb_LinkTarget_set_include,$(1),\
|
||||
-I$(call gb_UnpackedTarball_get_dir,glm) \
|
||||
$(GLM_CFLAGS) \
|
||||
$$(INCLUDE) \
|
||||
)
|
||||
|
||||
|
|
|
@ -207,6 +207,7 @@ export GIT_LINK_SRC=@GIT_LINK_SRC@
|
|||
export GIT_NEEDED_SUBMODULES=@GIT_NEEDED_SUBMODULES@
|
||||
export GLEW_CFLAGS=$(gb_SPACE)@GLEW_CFLAGS@
|
||||
export GLEW_LIBS=$(gb_SPACE)@GLEW_LIBS@
|
||||
export GLM_CFLAGS=$(gb_SPACE)@GLM_CFLAGS@
|
||||
export GNOMEVFS_CFLAGS=$(gb_SPACE)@GNOMEVFS_CFLAGS@
|
||||
export GNOMEVFS_LIBS=$(gb_SPACE)@GNOMEVFS_LIBS@
|
||||
export GNUTLS_CFLAGS=$(gb_SPACE)@GNUTLS_CFLAGS@
|
||||
|
|
|
@ -8633,7 +8633,9 @@ else
|
|||
AC_MSG_RESULT([internal])
|
||||
BUILD_TYPE="$BUILD_TYPE GLM"
|
||||
SYSTEM_GLM=
|
||||
GLM_CFLAGS="${ISYSTEM}${WORKDIR}/UnpackedTarball/glm"
|
||||
fi
|
||||
AC_SUBST([GLM_CFLAGS])
|
||||
AC_SUBST([SYSTEM_GLM])
|
||||
|
||||
dnl ===================================================================
|
||||
|
|
|
@ -39,7 +39,6 @@ $(call gb_ExternalProject_get_state_target,libetonyek,build) :
|
|||
BOOST_CFLAGS="$(if $(SYSTEM_BOOST),$(BOOST_CPPFLAGS),-I$(call gb_UnpackedTarball_get_dir,boost))" \
|
||||
XML_CFLAGS="$(LIBXML_CFLAGS)" \
|
||||
XML_LIBS="$(LIBXML_LIBS)" \
|
||||
$(call gb_Helper_optional,GLM,GLM_CFLAGS="-I$(call gb_UnpackedTarball_get_dir,glm)") \
|
||||
$(if $(CROSS_COMPILING),--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)) \
|
||||
&& $(MAKE) \
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue