mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-03 05:59:00 +08:00
df8276a218
* Modernize lodepng portfile * Update to 8c6a9e30 * Install LICENSE as copyright * Don't install examples * Remove unused parameter * Merge lodepng-c into lodepng * Add usage * Omit lodepng-util: not official API * Update versions * [gdal] Don't use lz4: not a dependency * [libjxl] Fix link flags * Revise install cleanup, handle .dylib * Add extra flags for uwp * Workaround uwp toolchain quirks * More dependency control, jxl_extras for tools only * Pass the version to the build * Update versions * Skip CI for libjxl:arm-uwp * Install usage file * Update versions * Use version-date for lodepng, mark lodepng-c as deprecated, and update version database. Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
16 lines
608 B
Diff
16 lines
608 B
Diff
diff --git a/lib/jxl.cmake b/lib/jxl.cmake
|
|
index 63539cc..2e1d617 100644
|
|
--- a/lib/jxl.cmake
|
|
+++ b/lib/jxl.cmake
|
|
@@ -551,8 +551,10 @@ foreach(target IN ITEMS jxl jxl_dec)
|
|
# This hides the default visibility symbols from static libraries bundled into
|
|
# the shared library. In particular this prevents exposing symbols from hwy
|
|
# and skcms in the shared library.
|
|
+ if(NOT APPLE AND NOT MSVC)
|
|
set_property(TARGET ${target} APPEND_STRING PROPERTY
|
|
LINK_FLAGS " -Wl,--exclude-libs=ALL")
|
|
+ endif()
|
|
endforeach()
|
|
|
|
# Only install libjxl shared library. The libjxl_dec is not installed since it
|