Commit ee043e0b authored by Rashad Kanavath's avatar Rashad Kanavath

COMP: openmp is disabled by default (OTB & SuperBuild)

parent f143657f
......@@ -213,8 +213,8 @@ endif()
option(OTB_USE_DEPRECATED "Turn on the use and test of deprecated classes" OFF)
mark_as_advanced(OTB_USE_DEPRECATED)
option(OTB_USE_OPENMP "Add openmp compiler and linker flags" ON)
option(OTB_USE_SSE_FLAGS "Enable SIMD optimizations (hardware dependant)." OFF)
option(OTB_USE_OPENMP "Add openmp compiler and linker flags" OFF)
option(OTB_USE_SSE_FLAGS "Enable SIMD optimizations (hardware dependant)." ON)
#-----------------------------------------------------------------------------
# SHOW_ALL_MSG_DEBUG option
option(OTB_SHOW_ALL_MSG_DEBUG "Show all debug messages (very verbose)" OFF)
......
......@@ -49,14 +49,9 @@ endif()
option(BUILD_SHARED_LIBS "Build OTB with shared libraries." ON)
option(BUILD_STATIC_LIBS "Build with static libraries." OFF)
option(WITH_REMOTE_MODULES "Build with specific list of remote modules." OFF)
option(OTB_USE_OPENMP "use openmp" OFF)
set(OTB_ADDITIONAL_CACHE "" CACHE STRING "Additional cmake option for OTB -DVAR:TYPE=VALUE ...")
option(OTB_USE_OPENMP "use openmp" ON)
if(WIN32)
option(OTB_USE_OPENMP "use openmp" OFF)
endif()
if(APPLE)
if(POLICY CMP0042)
cmake_policy(SET CMP0042 NEW)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment