Skip to content

Commit 7042a83

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

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Sources/SwiftDriver/CMakeLists.txt

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

96+
target_compile_options(SwiftDriver PUBLIC
97+
$<$<COMPILE_LANGUAGE:Swift>:-enable-testing)
98+
9699
target_link_libraries(SwiftDriver PUBLIC
97100
TSCBasic
98101
TSCUtility

0 commit comments

Comments
 (0)