Skip to content

Commit f0ae1fe

Browse files
committed
[cmake] Fix dependencies for xdgTestHelp
xdgTestHelper imports FoundationNetworking and FoundationXML but doesn't have an explicit dependency on them which can cause a race condition while building.
1 parent e506c04 commit f0ae1fe

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

TestFoundation/xdgTestHelper/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
add_executable(xdgTestHelper
33
main.swift)
44
target_link_libraries(xdgTestHelper PRIVATE
5-
Foundation)
5+
Foundation
6+
FoundationNetworking
7+
FoundationXML)
68
# TODO(compnerd) properly propogate `BUILD_RPATH` to the target using CMake
79
if(NOT CMAKE_SYSTEM_NAME STREQUAL Windows AND NOT CMAKE_SYSTEM_NAME STREQUAL Darwin)
810
target_link_options(xdgTestHelper PRIVATE

0 commit comments

Comments
 (0)