Skip to content

Commit

Permalink
fix: use find_package HINTS option
Browse files Browse the repository at this point in the history
Signed-off-by: Zach Lewis <[email protected]>
  • Loading branch information
zachlewis committed Sep 24, 2024
1 parent 872968b commit 745c6e0
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 @@ -40,7 +40,7 @@ if (${PNG_BUILD_VERSION} VERSION_GREATER_EQUAL "1.6.44")
endif ()

set (PNG_REFIND_ARGS ${_refind_config}
CMAKE_FIND_ROOT_PATH ${PNG_LOCAL_INSTALL_DIR}
PATHS ${PNG_LOCAL_INSTALL_DIR}
)

if (PNG_BUILD_SHARED_LIBS)
Expand Down

0 comments on commit 745c6e0

Please sign in to comment.