Commit 74c61f07 authored by Luc Hermitte's avatar Luc Hermitte
Browse files

COMP: OpenMP will be automatically used through OTB

To use OpenMP, force `OTB_USE_OPENMP`
parent 6660beea
......@@ -24,14 +24,6 @@ if (POLICY CMP0072)
endif()
project(S1TilingSupportApplications)
#set(S1TilingSupportApplications_LIBRARIES ${otb-module})
find_package(OpenMP)
if (OPENMP_FOUND)
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${OpenMP_C_FLAGS}")
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}")
set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${OpenMP_EXE_LINKER_FLAGS}")
endif()
### Informations for package/module
string(TIMESTAMP TODAY "%d/%m/%Y") # require CMake 2.8.11
SET(CPACK_PACKAGE_VERSION_MAJOR "2")
......
Supports Markdown
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