CMake: only enable opencollada by default on OS X and Windows, consistent with scons.

This commit is contained in:
Brecht Van Lommel 2013-11-18 17:12:19 +01:00
parent 0f32bc49ec
commit 965c1357c4
1 changed files with 6 additions and 2 deletions

View File

@ -226,8 +226,12 @@ else()
endif()
# 3D format support
# disable opencollada on non-apple unix because opencollada has no package for debian
option(WITH_OPENCOLLADA "Enable OpenCollada Support (http://www.opencollada.org)" ON)
# Disable opencollada when we don't have precompiled libs
if(APPLE OR WIN32)
option(WITH_OPENCOLLADA "Enable OpenCollada Support (http://www.opencollada.org)" ON)
else()
option(WITH_OPENCOLLADA "Enable OpenCollada Support (http://www.opencollada.org)" OFF)
endif()
# Sound output
option(WITH_SDL "Enable SDL for sound and joystick support" ON)