ports/devel/libdispatch/files/patch-CMakeLists.txt
Dima Panov a17666caba
devel/libdispatch: update to 6.0.3 release (+)
Use system libBlocksRuntime provided by LLVM/Compiler-RT instead of bundled one
Install versioned dispatch library to better maintenance and visibility
2025-01-24 18:20:36 +03:00

13 lines
409 B
Text

--- CMakeLists.txt.orig 2024-06-13 00:13:26 UTC
+++ CMakeLists.txt
@@ -187,6 +187,10 @@ endif()
find_package(LibRT)
endif()
+if(CMAKE_SYSTEM_NAME STREQUAL FreeBSD)
+ find_package(BlocksRuntime)
+endif()
+
check_function_exists(_pthread_workqueue_init HAVE__PTHREAD_WORKQUEUE_INIT)
check_function_exists(getprogname HAVE_GETPROGNAME)
check_function_exists(mach_absolute_time HAVE_MACH_ABSOLUTE_TIME)