[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [26057] trunk/blender/CMakeLists.txt: cmake fix broken OSX build: those openmp flags break OSX build, it might only work on other unixes that way

Erwin Coumans blender at erwincoumans.com
Sun Jan 17 21:25:28 CET 2010


Revision: 26057
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=26057
Author:   erwin
Date:     2010-01-17 21:25:28 +0100 (Sun, 17 Jan 2010)

Log Message:
-----------
cmake fix broken OSX build: those openmp flags break OSX build, it might only work on other unixes that way

Modified Paths:
--------------
    trunk/blender/CMakeLists.txt

Modified: trunk/blender/CMakeLists.txt
===================================================================
--- trunk/blender/CMakeLists.txt	2010-01-17 20:06:34 UTC (rev 26056)
+++ trunk/blender/CMakeLists.txt	2010-01-17 20:25:28 UTC (rev 26057)
@@ -82,7 +82,7 @@
 OPTION(WITH_OPENCOLLADA		"Enable OpenCollada Support (http://www.opencollada.org/)"	ON)
 
 # Unix defaults to OpenMP On
-IF (UNIX)
+IF(UNIX AND NOT APPLE)
 	OPTION(WITH_OPENMP        "Enable OpenMP (has to be supported by the compiler)" ON)
 ELSE(UNIX)
 	OPTION(WITH_OPENMP        "Enable OpenMP (has to be supported by the compiler)" OFF)





More information about the Bf-blender-cvs mailing list