Build libpng as part of deps on Linux
- We've found counter case where the system provided one is missing or is too old.
This commit is contained in:
parent
1eef1d32a0
commit
d904862bc7
9
deps/deps-linux.cmake
vendored
9
deps/deps-linux.cmake
vendored
@ -3,10 +3,11 @@ set(DEP_CMAKE_OPTS "-DCMAKE_POSITION_INDEPENDENT_CODE=ON")
|
|||||||
|
|
||||||
include("deps-unix-common.cmake")
|
include("deps-unix-common.cmake")
|
||||||
|
|
||||||
find_package(PNG QUIET)
|
# Some Linuxes may have very old libpng, so it's best to bundle it instead of relying on the system version.
|
||||||
if (NOT PNG_FOUND)
|
# find_package(PNG QUIET)
|
||||||
message(WARNING "No PNG dev package found in system, building static library. You should install the system package.")
|
# if (NOT PNG_FOUND)
|
||||||
endif ()
|
# message(WARNING "No PNG dev package found in system, building static library. You should install the system package.")
|
||||||
|
# endif ()
|
||||||
|
|
||||||
#TODO UDEV
|
#TODO UDEV
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user