diff --git a/CMakeLists.txt b/CMakeLists.txt index 2fa6f72..8e9aba9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -38,6 +38,7 @@ if(BUILD_SHARED_LIBS) endif() if(NOT CMAKE_SYSTEM_NAME STREQUAL Darwin) + find_package(dispatch CONFIG) find_package(Foundation CONFIG) endif() diff --git a/Sources/X509/CMakeLists.txt b/Sources/X509/CMakeLists.txt index 5c4cb2a..01a18a1 100644 --- a/Sources/X509/CMakeLists.txt +++ b/Sources/X509/CMakeLists.txt @@ -82,6 +82,7 @@ add_library(X509 "X509BaseTypes/Validity.swift") target_link_libraries(X509 PUBLIC + $<$>:dispatch> $<$>:Foundation> Crypto _CryptoExtras