You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# work around https://gitlab.kitware.com/cmake/cmake/-/issues/26037
set (OpenMP_EXE_LINKER_FLAGS OpenMP::OpenMP_CXX -latomic)
message(STATUS"OpenMP Linker flags for Clang: ${OpenMP_EXE_LINKER_FLAGS}")
else()
set (OpenMP_EXE_LINKER_FLAGS OpenMP::OpenMP_CXX)
endif()
endif()
which is largely historical. OpenMP_CXX_FLAGS doesn't seem to be used anywhere and We shouldn't need the OpenMP_EXE_LINKER_FLAGS should really be renamed to OpenMP_target_link_libraries or so, as it's only used for target_link_libraries, e.g.
We currently still have
STIR/src/CMakeLists.txt
Lines 137 to 147 in 4e57186
OpenMP_CXX_FLAGS
doesn't seem to be used anywhere and We shouldn't need theOpenMP_EXE_LINKER_FLAGS
should really be renamed toOpenMP_target_link_libraries
or so, as it's only used fortarget_link_libraries
, e.g.STIR/src/buildblock/CMakeLists.txt
Lines 151 to 153 in 4e57186
STIR/src/recon_buildblock/CMakeLists.txt
Lines 148 to 150 in 4e57186
and in the SWIG CMakeLists.txt.
I think we need the variable to work-around the
atomic
problem,See also #1494
The text was updated successfully, but these errors were encountered: