Skip to content
Snippets Groups Projects
Commit efd25a5b authored by Rashad Kanavath's avatar Rashad Kanavath
Browse files

COMP: disable openmp on win32 (OTB)

parent d55fc769
No related branches found
No related tags found
No related merge requests found
......@@ -28,6 +28,11 @@ ADDTO_DEPENDENCIES_IF_NOT_SYSTEM(OTB GDAL OSSIM ITK TINYXML BOOST)
##get_property(OTB_DEPENDENCIES GLOBAL PROPERTY GLOBAL_OTB_DEPENDENCIES)
set(OTB_USE_OPENMP TRUE)
if(WIN32)
set(OTB_USE_OPENMP FALSE)
endif()
if(OTB_USE_CURL)
ADDTO_DEPENDENCIES_IF_NOT_SYSTEM(OTB CURL)
ADD_SUPERBUILD_CMAKE_VAR(OTB CURL_INCLUDE_DIR)
......@@ -184,6 +189,7 @@ ExternalProject_Add(OTB
-DOTB_USE_GLFW:BOOL=${OTB_USE_GLFW}
-DOTB_USE_GLUT:BOOL=${OTB_USE_GLUT}
-DOTB_USE_QWT:BOOL=${OTB_USE_QWT}
-DOTB_USE_OPENMP:BOOL=${OTB_USE_OPENMP}
-DOTB_WRAP_PYTHON:BOOL=${OTB_WRAP_PYTHON}
-DOTB_WRAP_JAVA:BOOL=${OTB_WRAP_JAVA}
${OTB_ADDITIONAL_CACHE}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment