Commit: ad7e3c302ee5d7ce86c86228900b0e61e0afcffe
Author: Campbell Barton
Date:   Tue Jul 28 17:47:21 2015 +1000
Branches: master
https://developer.blender.org/rBad7e3c302ee5d7ce86c86228900b0e61e0afcffe

CMake: modify recent platform defaults

Now only disable Jack and NDof on OSX

Also comment main block for platform checks

===================================================================

M       CMakeLists.txt

===================================================================

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5654eb3..dd19d80 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -160,26 +160,25 @@ option_defaults_init(
        _init_GAMEENGINE
 )
 
-# NOTE: for now use same defaults on all platforms...
-# in future we may want to tweak per-platform
-
 # customize...
-if (1)
+if (UNIX AND NOT APPLE)
        # some of these libraries are problematic on Linux
        # disable less important dependencies by default
-       set(_init_BUILDINFO                      OFF)
        set(_init_CODEC_FFMPEG                   OFF)
        set(_init_CYCLES_OSL                     OFF)
        set(_init_IMAGE_OPENEXR                  OFF)
        set(_init_IMAGE_REDCODE                  OFF)
        set(_init_INPUT_NDOF                     OFF)
        set(_init_JACK                           OFF)
-       set(_init_LIBMV_SCHUR_SPECIALIZATION     OFF)
        set(_init_OPENCOLLADA                    OFF)
        set(_init_OPENCOLORIO                    OFF)
        set(_init_SDL                            OFF)
        set(_init_FFTW3                          OFF)
-       set(_init_GAMEENGINE                     OFF)
+elseif(WIN32)
+       set(_init_JACK                           OFF)
+elseif(APPLE)
+       set(_init_INPUT_NDOF                     OFF)
+       set(_init_JACK                           OFF)
 endif()
 
 
@@ -808,6 +807,14 @@ if(WITH_X11)
 
 endif()
 
+
+# ----------------------------------------------------------------------------
+# Main Platform Checks
+#
+# - UNIX
+# - WIN32
+# - APPLE
+
 if(UNIX AND NOT APPLE)
        macro(find_package_wrapper)
                if(WITH_STATIC_LIBS)

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to