2018-11-30 19:52:45 +00:00
|
|
|
|
|
|
|
|
|
# The unix common part expects DEP_CMAKE_OPTS to be set
|
|
|
|
|
|
2019-08-16 14:17:37 +00:00
|
|
|
|
if (MINGW)
|
|
|
|
|
set(TBB_MINGW_WORKAROUND "-flifetime-dse=1")
|
|
|
|
|
else ()
|
|
|
|
|
set(TBB_MINGW_WORKAROUND "")
|
|
|
|
|
endif ()
|
|
|
|
|
|
2019-12-11 12:51:16 +00:00
|
|
|
|
find_package(ZLIB QUIET)
|
|
|
|
|
if (NOT ZLIB_FOUND)
|
2020-04-28 07:56:54 +00:00
|
|
|
|
message(WARNING "No ZLIB dev package found in system, building static library. You should install the system package.")
|
2019-12-11 12:51:16 +00:00
|
|
|
|
endif ()
|
2020-04-28 07:56:54 +00:00
|
|
|
|
|
|
|
|
|
# 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 ()
|