Skip to content

Commit 2cb540e

Browse files
committed
utils: update build-windows-toolchain.bat
Add the header and library search paths for SQLite3 to the cmake invocation for SwiftPM. This is needed to allow building SwiftPM once the SQLite3 wrapper is migrated from swift-tools-support-core to SwiftPM.
1 parent 8491f52 commit 2cb540e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

utils/build-windows-toolchain.bat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -575,6 +575,8 @@ cmake ^
575575
-D SwiftDriver_DIR=%BuildRoot%\11\cmake\modules ^
576576
-D SwiftCrypto_DIR=%BuildRoot%\12\cmake\modules ^
577577
-D SwiftCollections_DIR=%BuildRoot%\13\cmake\modules ^
578+
-D SQLite3_INCLUDE_DIR=%BuildRoot%\Library\sqlite-3.36.0\usr\include ^
579+
-D SQLite3_LIBRARY=%BuildRoot%\Library\sqlite-3.36.0\usr\lib\SQLite3.lib ^
578580

579581
-G Ninja ^
580582
-S %SourceRoot%\swiftpm || (exit /b)

0 commit comments

Comments
 (0)