diff --git a/cmake/modules/FindSwiftXCTest.cmake b/cmake/modules/FindSwiftXCTest.cmake index 9ae98a2..95e0e4b 100644 --- a/cmake/modules/FindSwiftXCTest.cmake +++ b/cmake/modules/FindSwiftXCTest.cmake @@ -1,9 +1,9 @@ +find_package(XCTest REQUIRED) add_library(SwiftXCTest INTERFACE) target_link_libraries(SwiftXCTest INTERFACE XCTest) if(APPLE) - find_package(XCTest REQUIRED) add_library(XCTest INTERFACE) # the Objective-C XCTest module target_link_libraries(XCTest INTERFACE ${XCTest_LIBRARIES})