vcpkg/ports/libjxl/fix-tools-build.patch
2024-03-13 15:50:15 -07:00

14 lines
435 B
Diff

diff --git a/lib/jxl_extras.cmake b/lib/jxl_extras.cmake
index 597f691..b1c184c 100644
--- a/lib/jxl_extras.cmake
+++ b/lib/jxl_extras.cmake
@@ -151,7 +151,7 @@ endif()
### Library that does not depend on internal parts of jxl library.
### Used by cjxl and djxl binaries.
-add_library(jxl_extras_codec
+add_library(jxl_extras_codec STATIC
$<TARGET_OBJECTS:jxl_extras_core-obj>
)
target_link_libraries(jxl_extras_codec PRIVATE