[Openmp-commits] [openmp] [OpenMP] Link against libm on OpenBSD (PR #70614)
Matt Arsenault via Openmp-commits
openmp-commits at lists.llvm.org
Mon Oct 30 00:21:26 PDT 2023
================
@@ -140,7 +140,7 @@ function(libomp_get_libflags libflags)
if(LIBOMP_HAVE_SHM_OPEN_WITH_LRT)
libomp_append(libflags_local -lrt)
endif()
- if(${CMAKE_SYSTEM_NAME} MATCHES "DragonFly|FreeBSD")
----------------
arsenm wrote:
OS lists like this are bad, can you use check_library_exists
https://github.com/llvm/llvm-project/pull/70614
More information about the Openmp-commits
mailing list