Add PNG and wxWidgets 3.1.3 uniformly to all platforms with cmake build.

wx is built with png as a dependency, wxpng is disabled.
This commit is contained in:
tamasmeszaros 2020-04-28 09:56:54 +02:00
parent 2bd524849a
commit 572b5ba8bb
37 changed files with 13948 additions and 157 deletions

View file

@ -9,9 +9,15 @@ endif ()
find_package(ZLIB QUIET)
if (NOT ZLIB_FOUND)
include(ZLIB/ZLIB.cmake)
message(WARNING "No ZLIB dev package found in system, building static library. You should install the system package.")
endif ()
# TODO Evaluate expat modifications in the bundled version and test with system versions in various distros and OSX SDKs
# find_package(EXPAT QUIET)
# if (NOT EXPAT_FOUND)
# message(WARNING "No EXPAT dev package found in system, building static library. Consider installing the system package.")
# endif ()
ExternalProject_Add(dep_tbb
EXCLUDE_FROM_ALL 1
URL "https://github.com/wjakob/tbb/archive/a0dc9bf76d0120f917b641ed095360448cabc85b.tar.gz"