forked from bartvdbraak/blender
CMake: enable OpenMP for all platforms by default
This is done in SCons and the only reason to disable OpenMP on Windows was to deal with the express version of compilers. Now when we are about to switch to msvc2013 by default we can safely enable OpenMP there since even express version of this beast supports OpenMP.
This commit is contained in:
parent
e6ff0ec73d
commit
d0c1b44deb
@ -155,15 +155,7 @@ mark_as_advanced(WITH_HEADLESS)
|
|||||||
option(WITH_AUDASPACE "Build with blenders audio library (only disable if you know what you're doing!)" ON)
|
option(WITH_AUDASPACE "Build with blenders audio library (only disable if you know what you're doing!)" ON)
|
||||||
mark_as_advanced(WITH_AUDASPACE)
|
mark_as_advanced(WITH_AUDASPACE)
|
||||||
|
|
||||||
# (unix defaults to OpenMP On)
|
option(WITH_OPENMP "Enable OpenMP (has to be supported by the compiler)" ON)
|
||||||
if((UNIX AND NOT APPLE) OR (MINGW))
|
|
||||||
set(PLATFORM_DEFAULT ON)
|
|
||||||
else()
|
|
||||||
set(PLATFORM_DEFAULT OFF)
|
|
||||||
endif()
|
|
||||||
option(WITH_OPENMP "Enable OpenMP (has to be supported by the compiler)" ${PLATFORM_DEFAULT})
|
|
||||||
unset(PLATFORM_DEFAULT)
|
|
||||||
|
|
||||||
|
|
||||||
if(UNIX AND NOT APPLE)
|
if(UNIX AND NOT APPLE)
|
||||||
option(WITH_X11_XINPUT "Enable X11 Xinput (tablet support and unicode input)" ON)
|
option(WITH_X11_XINPUT "Enable X11 Xinput (tablet support and unicode input)" ON)
|
||||||
|
Loading…
Reference in New Issue
Block a user