diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2013-11-18 20:12:19 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2013-11-19 03:43:44 +0400 |
commit | 965c1357c4ef78142dee73b09e52f5d86a5e840f (patch) | |
tree | 13efe64c163b0163a54a2c181ac46f1e5f824b26 /CMakeLists.txt | |
parent | 0f32bc49ecb54911eea705d661443fbb09d0ff9d (diff) |
CMake: only enable opencollada by default on OS X and Windows, consistent with scons.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 8 |
1 files changed, 6 insertions, 2 deletions
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) |