opnsense-ports/devel/libdispatch/files/patch-CMakeLists.txt
Franco Fichtner 49362bbeca */*: sync with upstream
Taken from: FreeBSD
2025-01-27 13:16:37 +01: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)