add_module(speech/espeak FALSE)
add_module(speech/speech_dispatcher TRUE)
add_plugin(support/espeak FALSE)
-add_plugin(support/ezxml TRUE)
+add_plugin(support/ezxml FALSE)
add_plugin(support/glib FALSE)
add_plugin(support/libpng FALSE)
add_plugin(support/win32 FALSE)
# set platform defaults
if(WIN32)
set_with_reason(graphics/win32 "win32" TRUE)
+ set_with_reason(support/ezxml "win32" TRUE)
set_with_reason(support/glib "win32" TRUE)
set_with_reason(support/libpng "win32" TRUE)
set_with_reason(support/win32 "win32" TRUE)
# OpenGL
if (graphics/opengl)
- CHECK_INCLUDE_FILES(glc.h HAVE_GLC)
- if (NOT HAVE_GLC)
+ find_package(PkgConfig)
+ if(PKG_CONFIG_FOUND)
+ pkg_check_modules(QUESOGLC quesoglc)
+ endif(PKG_CONFIG_FOUND)
+ if (NOT QUESOGLC_FOUND)
set(graphics/opengl FALSE)
message (STATUS "no glc implementation found. Install Quesoglc for OpenGL support")
else()
set(graphics/opengl FALSE)
message (STATUS "opengl not found")
endif()
- endif(NOT HAVE_GLC)
+ endif(NOT QUESOGLC_FOUND)
endif()
# SDL