Skip to content

Commit a0682cb

Browse files
committed
CMake: dispatch is required for dispatch executor
The dispatch global executor depends on finding dispatch. If dispatch is not found, it will fail to build. Mark it as required to get a configuration failure early.
1 parent abc0219 commit a0682cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Runtimes/Core/Concurrency/dispatch.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
find_package(dispatch QUIET)
2+
find_package(dispatch QUIET REQUIRED)
33

44
target_sources(swift_Concurrency PRIVATE
55
DispatchGlobalExecutor.cpp)

0 commit comments

Comments
 (0)