mirror of
https://git.freebsd.org/ports.git
synced 2025-06-08 14:20:33 -04:00
Use system libBlocksRuntime provided by LLVM/Compiler-RT instead of bundled one Install versioned dispatch library to better maintenance and visibility
13 lines
409 B
Text
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)
|