Skip to content

Commit e7e30b2

Browse files
authored
build: optionalise Foundation and dispatch (#514)
1 parent f0cbdd7 commit e7e30b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ endif()
1717
option(DISABLE_XCTWAITER "Disable XCTWaiter" "${DISABLE_XCTWAITER_default}")
1818

1919
if(NOT CMAKE_SYSTEM_NAME STREQUAL Darwin AND NOT DISABLE_XCTWAITER)
20-
find_package(dispatch CONFIG REQUIRED)
21-
find_package(Foundation CONFIG REQUIRED)
20+
find_package(dispatch CONFIG)
21+
find_package(Foundation CONFIG)
2222
endif()
2323

2424
include(GNUInstallDirs)

0 commit comments

Comments
 (0)