Skip to content

Commit c5058c0

Browse files
Merge pull request #67013 from swiftwasm/pr-cd0bac9cf59ab923c6e0d79638c7c6cfbb5a2b50
[build] Fix cmake config for reflection test without dynamic stdlib
2 parents 622f7a2 + 21d1e96 commit c5058c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/private/SwiftReflectionTest/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
if (SWIFT_INCLUDE_TESTS)
2+
if (SWIFT_INCLUDE_TESTS AND SWIFT_BUILD_DYNAMIC_STDLIB)
33
add_swift_target_library(swiftSwiftReflectionTest ${SWIFT_STDLIB_LIBRARY_BUILD_TYPES} IS_STDLIB
44
SwiftReflectionTest.swift
55
SWIFT_COMPILE_FLAGS ${SWIFT_STANDARD_LIBRARY_SWIFT_FLAGS}

0 commit comments

Comments
 (0)