From e533fe72a3be089f7b3409f9178c83e3f37044d0 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 15 Apr 2012 09:51:30 +0000 Subject: [PATCH] fix incorrect use of PLATFORM_DEFAULT with cmake --- CMakeLists.txt | 4 ++-- 1 file 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)