Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-04-15 13:51:30 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-04-15 13:51:30 +0400
commite533fe72a3be089f7b3409f9178c83e3f37044d0 (patch)
treee8259962468608f6798338142a6102890d2f4300 /CMakeLists.txt
parent9ef26d145c635724d236b8b4ec69a489cb6dfe28 (diff)
fix incorrect use of PLATFORM_DEFAULT with cmake
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 68efd0759fc..2669f2ff93f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -153,7 +153,7 @@ if(UNIX AND NOT APPLE)
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 @@ if(MINGW)
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)