Do not add OpenMP C-flags as linker arguments for libecl

This commit is contained in:
Bjørnar Grip Fjær 2017-06-22 14:20:16 +02:00
parent 0e8d76d05c
commit 527151ba23

View File

@ -204,7 +204,6 @@ endif()
if (ERT_USE_OPENMP)
target_compile_options(ecl PUBLIC ${OpenMP_C_FLAGS})
target_link_libraries( ecl PUBLIC ${OpenMP_C_FLAGS})
target_link_libraries( ecl PUBLIC ${OpenMP_EXE_LINKER_FLAGS})
endif ()