Skip to content

Commit 9cd6498

Browse files
Add ZLIB_LIBRARY path to zs.lib to SystemUtil::makeCmakeToolchainFile()
1 parent 0c89e22 commit 9cd6498

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/SPC/builder/windows/SystemUtil.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ public static function makeCmakeToolchainFile(?string $cflags = null, ?string $l
9696
SET(CMAKE_EXE_LINKER_FLAGS "{$ldflags}")
9797
SET(CMAKE_FIND_ROOT_PATH "{$buildroot}")
9898
SET(CMAKE_MSVC_RUNTIME_LIBRARY MultiThreaded)
99+
SET(ZLIB_LIBRARY "{$buildroot}/lib/zs.lib")
99100
CMAKE;
100101
if (!is_dir(SOURCE_PATH)) {
101102
FileSystem::createDir(SOURCE_PATH);

0 commit comments

Comments
 (0)