fix incorrect use of PLATFORM_DEFAULT with cmake

This commit is contained in:
Campbell Barton
2012-04-15 09:51:30 +00:00
parent 9ef26d145c
commit e533fe72a3

View File

@@ -153,7 +153,7 @@ if(UNIX AND NOT APPLE)
else() else()
set(PLATFORM_DEFAULT OFF) set(PLATFORM_DEFAULT OFF)
endif() 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) unset(PLATFORM_DEFAULT)
@@ -199,7 +199,7 @@ if(MINGW)
else() else()
set(PLATFORM_DEFAULT OFF) set(PLATFORM_DEFAULT OFF)
endif() 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) unset(PLATFORM_DEFAULT)
option(WITH_CODEC_SNDFILE "Enable libsndfile Support (http://www.mega-nerd.com/libsndfile)" OFF) option(WITH_CODEC_SNDFILE "Enable libsndfile Support (http://www.mega-nerd.com/libsndfile)" OFF)