CMake Error at scripts/cmake/vcpkg_replace_string.cmake:12 #45156
Unanswered
bkmckenzie
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I tried to build a static x86 build of zlib and the build succeeded, but the library still has dynamic CRT dependencies for some reason?
So, I found zlib-ng and thought I would try to build it as static. The build worked, but the APIs are different and then I noticed a ZLIB_COMPAT CMAKE flag you can set for the build. So, I am trying to do that. I have a custom triplet named
x86-windows-static-release-v143.cmakewith the following contents:Running this command-line:
vcpkg install zlib-ng:x86-windows-static-release-v143fails with the following output:If I take out the port specific 'if' block in the triplet, everything works. Am I doing this wrong?
Beta Was this translation helpful? Give feedback.
All reactions