Skip to content

Commit

Permalink
deps(PNG): Always build with -fPIC
Browse files Browse the repository at this point in the history
Signed-off-by: Zach Lewis <[email protected]>
  • Loading branch information
zachlewis committed Sep 16, 2024
1 parent 5904090 commit 3cbb73d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cmake/build_PNG.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ build_dependency_with_cmake(PNG
-D PNG_SHARED=${PNG_BUILD_SHARED_LIBS}
-D PNG_EXECUTABLES=OFF
-D PNG_TESTS=OFF
-D CMAKE_POSITION_INDEPENDENT_CODE=ON
)

# Set some things up that we'll need for a subsequent find_package to work
Expand Down

0 comments on commit 3cbb73d

Please sign in to comment.