From 965c1357c4ef78142dee73b09e52f5d86a5e840f Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Mon, 18 Nov 2013 17:12:19 +0100 Subject: CMake: only enable opencollada by default on OS X and Windows, consistent with scons. --- CMakeLists.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index fdea7e35012..d3a4d65e0ce 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) -- cgit v1.2.3