Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content
Snippets Groups Projects
Commit 9e8f22f6 authored by suter_a's avatar suter_a
Browse files

adopted OpenMP handling for libZFRelaxation.

parent a96f1b35
No related branches found
No related tags found
No related merge requests found
......@@ -53,14 +53,10 @@ target_include_directories(
)
#--- add library dependencies -------------------------------------------------
set(gomp "")
if (OpenMP_FOUND)
target_compile_options(ZFRelaxation PUBLIC ${OpenMP_CXX_FLAGS})
set(gomp OpenMP::OpenMP_CXX)
endif (OpenMP_FOUND)
set(gomp "")
if (OpenMP_FOUND AND (${CMAKE_HOST_SYSTEM_NAME} STREQUAL Linux))
set(gomp gomp)
endif (OpenMP_FOUND AND (${CMAKE_HOST_SYSTEM_NAME} STREQUAL Linux))
target_link_libraries(ZFRelaxation
${gomp} FFTW3::FFTW3 ${ROOT_LIBRARIES} PUserFcnBase cuba BMWtools
)
......
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