You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CMakeLists.txt
+31-1Lines changed: 31 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,11 @@ option(LLFIO_ENABLE_DEPENDENCY_SMOKE_TEST "Whether to build executables which ar
32
32
option(LLFIO_ASSUME_CROSS_COMPILING"Whether to assume we are cross compiling. Normally automatically detected, but if automatic detection doesn't work, a working <filesystem> will not be found during cmake configure."OFF)
33
33
option(UNIT_TESTS_BUILD_ALL"Whether to run all of the unit test suite."OFF)
34
34
set(UNIT_TESTS_CXX_VERSION"latest"CACHESTRING"The version of C++ to use in the header-only unit tests")
35
+
if(CMAKE_SYSTEM_NAMEMATCHES"FreeBSD"ORAPPLE)
36
+
option(LLFIO_USE_LIBDISPATCH"Whether to use libdispatch/Grand Unified Dispatch (defaults on on BSD/Mac OS)"ON)
37
+
else()
38
+
option(LLFIO_USE_LIBDISPATCH"Whether to use libdispatch/Grand Unified Dispatch (defaults on on BSD/Mac OS)"OFF)
indented_message(FATAL_ERROR"FATAL: Grand Central Dispatch as libdispatch was not found on this FreeBSD or Mac OS system. libdispatch is required for LLFIO to build on those systems.")
0 commit comments