[Openmp-commits] [openmp] [OpenMP] Link against libm on OpenBSD (PR #70614)

Matt Arsenault via Openmp-commits openmp-commits at lists.llvm.org
Thu Nov 2 21:05:28 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:

but why, you can do any kind of try_compile test

https://github.com/llvm/llvm-project/pull/70614


More information about the Openmp-commits mailing list