Commit 3e824734 authored by Guillaume Pasero's avatar Guillaume Pasero

Revert "BUG: #1761: fix openMP linker flag"

This reverts commit ec9dc6a9.
parent 01361a7c
......@@ -288,8 +288,6 @@ macro(check_compiler_platform_flags)
set(OTB_REQUIRED_CXX_FLAGS "${OTB_REQUIRED_CXX_FLAGS} ${OpenMP_CXX_FLAGS}")
if(OpenMP_EXE_LINKER_FLAGS)
set(OTB_REQUIRED_LINK_FLAGS "${OTB_REQUIRED_LINK_FLAGS} ${OpenMP_EXE_LINKER_FLAGS}")
else()
set(OTB_REQUIRED_LINK_FLAGS "${OTB_REQUIRED_LINK_FLAGS} ${OpenMP_CXX_FLAGS}")
endif()
endif()
......
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