mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 13:51:33 -06:00
Tests: Fix SwiftOnly test on Windows
Add public symbols to SubA and SubB. The test was broken due to a broken build graph. The build graph expects libraries to emit the `.lib` file. `link.exe` only emits the implib if the library exports at least one symbol. Because these two libraries were empty, nothing was generated. Fixing by adding a public symbol to both libraries. Issue: #25573
This commit is contained in:
@@ -0,0 +1 @@
|
||||
public func hi() { print("hi") }
|
||||
|
||||
@@ -1 +1,3 @@
|
||||
import SubA
|
||||
|
||||
public var number = 42
|
||||
|
||||
Reference in New Issue
Block a user