Skip to content
Snippets Groups Projects
Commit e533fe72 authored by Campbell Barton's avatar Campbell Barton
Browse files

fix incorrect use of PLATFORM_DEFAULT with cmake

parent 9ef26d14
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment