Skip to content

Commit

Permalink
deps(PNG): Always disable shared libs
Browse files Browse the repository at this point in the history
...to see if this fixes a problem with building on Windows.

Signed-off-by: Zach Lewis <[email protected]>
  • Loading branch information
zachlewis committed Sep 17, 2024
1 parent ab7e348 commit ffa522e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmake/build_PNG.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ set_cache (PNG_BUILD_VERSION 1.6.44 "PNG version for local builds")
set (PNG_GIT_REPOSITORY "https://github.com/glennrp/libpng")
set (PNG_GIT_TAG "v${PNG_BUILD_VERSION}")

set_cache (PNG_BUILD_SHARED_LIBS ${LOCAL_BUILD_SHARED_LIBS_DEFAULT}
set_cache (PNG_BUILD_SHARED_LIBS OFF #${LOCAL_BUILD_SHARED_LIBS_DEFAULT}
DOC "Should execute a local PNG build, if necessary, build shared libraries" ADVANCED)

string (MAKE_C_IDENTIFIER ${PNG_BUILD_VERSION} PNG_VERSION_IDENT)
Expand Down

0 comments on commit ffa522e

Please sign in to comment.