Skip to content

Commit 6bc52b8

Browse files
committed
Attempt to unbreak the build by building Swift modules with -enable-testing.
1 parent 6a47766 commit 6bc52b8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Sources/SwiftDriver/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ add_library(SwiftDriver
9393
Utilities/VersionExtensions.swift
9494
Utilities/VirtualPath.swift)
9595

96+
target_compile_options(SwiftDriver PUBLIC $<$<COMPILE_LANGUAGE:Swift>:-enable-testing>)
97+
9698
target_link_libraries(SwiftDriver PUBLIC
9799
TSCBasic
98100
TSCUtility

0 commit comments

Comments
 (0)