inflation / jpegxl-rs

GNU General Public License v3.0
62 stars 12 forks source link

Can't build staticly with vendored feature #30

Closed SalOne22 closed 9 months ago

SalOne22 commented 1 year ago

How to static build for x86_64-pc-windows-msvc target?

Currently have issues with vendored feature, because libjxl can not be build with msvc compiler. So I build libjxl with vcpkg (uses clang) and use DEP_LIB_JXL for linking, but when i test this build on windows vm, jxl.dll and jxl_threads.dll cant be found. Do you have options to enable vendored feature without building the library?

inflation commented 1 year ago

No there isn't. However, you could overwrite any cmake options like the instructions in libjxl repo.