Work on making OpenAL a compile-time option.

ENABLE_SOUND=0 now works when configuring SimGear, and libSimGearScene can be linked without OpenAL. However, more testing of FlightGear in this mode is needed before it's officially supported!
This commit is contained in:
James Turner
2012-12-07 15:26:24 -05:00
parent fd27e7bd43
commit 24d2431522
4 changed files with 44 additions and 15 deletions
+1
View File
@@ -177,6 +177,7 @@ else()
if (ENABLE_SOUND)
find_package(OpenAL REQUIRED)
message(STATUS "Sound support: ENABLED")
endif(ENABLE_SOUND)
find_package(OpenSceneGraph 3.0.0 REQUIRED osgText osgSim osgDB osgParticle osgGA osgUtil)