blob: c089164af2199a292a4260dfc2c786d42b0586f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
--- acinclude.m4
+++ acinclude.m4
@@ -411,6 +411,8 @@
])
AC_DEFUN([OGRE_CHECK_CEGUI], [
+ AC_ARG_ENABLE(cegui)
+ if test x$enable_cegui != xno; then
PKG_CHECK_MODULES(CEGUI, CEGUI >= 0.5.0,
[build_cegui_sample=true], [build_cegui_sample=false])
if test x$build_cegui_sample = xtrue; then
@@ -426,6 +428,7 @@
else
AC_MSG_RESULT([CEGUI not available, Gui and FacialAnimation samples will not be built])
fi
+ fi
AM_CONDITIONAL([HAVE_CEGUI], [test x$build_cegui_sample = xtrue])
])
|