Kaydet (Commit) f333d58e authored tarafından Zolnai Tamás's avatar Zolnai Tamás

Introduce a new building flag to enable/disable gltf support

Enable it by defautl excepting android and ios.

Change-Id: I7798661ad7e470ad1eb91060ec21ba1de3979a4b
üst cda58f93
......@@ -1366,6 +1366,10 @@ AC_ARG_ENABLE(library-bin-tar,
for the next time.]),
)
AC_ARG_ENABLE(gltf,
AS_HELP_STRING([--disable-gltf],
[Determines whether to build libraries related to glTF 3D model rendering.]))
dnl ===================================================================
dnl Optional Packages (--with/without-)
dnl ===================================================================
......@@ -10364,7 +10368,7 @@ dnl ===================================================================
ENABLE_GLTF=
AC_MSG_CHECKING([whether to enable glTF support])
if test "$enable_opengl" = "yes"; then
if test $_os != iOS -a $_os != Android -a "x$enable_gltf" != "xno"; then
ENABLE_GLTF=TRUE
AC_MSG_RESULT([yes])
BUILD_TYPE="$BUILD_TYPE LIBGLTF"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment