[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [45650] trunk/blender/CMakeLists.txt: fix incorrect use of PLATFORM_DEFAULT with cmake

Campbell Barton ideasman42 at gmail.com
Sun Apr 15 11:51:31 CEST 2012


Revision: 45650
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=45650
Author:   campbellbarton
Date:     2012-04-15 09:51:30 +0000 (Sun, 15 Apr 2012)
Log Message:
-----------
fix incorrect use of PLATFORM_DEFAULT with cmake

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

Modified: trunk/blender/CMakeLists.txt
===================================================================
--- trunk/blender/CMakeLists.txt	2012-04-15 09:39:51 UTC (rev 45649)
+++ trunk/blender/CMakeLists.txt	2012-04-15 09:51:30 UTC (rev 45650)
@@ -153,7 +153,7 @@
 else()
 	set(PLATFORM_DEFAULT OFF)
 endif()
-option(WITH_OPENMP        "Enable OpenMP (has to be supported by the compiler)" PLATFORM_DEFAULT)
+option(WITH_OPENMP        "Enable OpenMP (has to be supported by the compiler)" ${PLATFORM_DEFAULT})
 unset(PLATFORM_DEFAULT)
 
 
@@ -199,7 +199,7 @@
 else()
 	set(PLATFORM_DEFAULT OFF)
 endif()
-option(WITH_CODEC_FFMPEG        "Enable FFMPeg Support (http://ffmpeg.org)" PLATFORM_DEFAULT)
+option(WITH_CODEC_FFMPEG        "Enable FFMPeg Support (http://ffmpeg.org)" ${PLATFORM_DEFAULT})
 unset(PLATFORM_DEFAULT)
 
 option(WITH_CODEC_SNDFILE       "Enable libsndfile Support (http://www.mega-nerd.com/libsndfile)" OFF)




More information about the Bf-blender-cvs mailing list