Skip to content

Commit 73a627e

Browse files
committed
docs: correct flags for 5.3+ installed image
The `-sdk` handling requires `-resource-dir` for nows.
1 parent 71130a9 commit 73a627e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ This requires the 5.3 or newer. You can use the the release binaries from [swift
1717
The following example session shows how to build with CMake 3.16 or newer.
1818

1919
```cmd
20-
set SWIFTFLAGS=-sdk %SDKROOT% -I %SDKROOT%/usr/lib/swift -L %SDKROOT%/usr/lib/swift/windows
20+
set SWIFTFLAGS=-sdk %SDKROOT% -resource-dir %SDKROOT%/usr/lib/swift -I %SDKROOT%/usr/lib/swift -L %SDKROOT%/usr/lib/swift/windows
2121
2222
cmake -B build -D BUILD_SHARED_LIBS=YES -D CMAKE_BUILD_TYPE=Release -D CMAKE_Swift_FLAGS="%SWIFTFLAGS%" -G Ninja -S .
2323
ninja -C build SwiftWin32 UICatalog

0 commit comments

Comments
 (0)