deps-unix-common.cmake 660 B

12345678910111213141516171819
  1. # The unix common part expects DEP_CMAKE_OPTS to be set
  2. if (MINGW)
  3. set(TBB_MINGW_WORKAROUND "-flifetime-dse=1")
  4. else ()
  5. set(TBB_MINGW_WORKAROUND "")
  6. endif ()
  7. find_package(ZLIB QUIET)
  8. if (NOT ZLIB_FOUND)
  9. message(WARNING "No ZLIB dev package found in system, building static library. You should install the system package.")
  10. endif ()
  11. # TODO Evaluate expat modifications in the bundled version and test with system versions in various distros and OSX SDKs
  12. # find_package(EXPAT QUIET)
  13. # if (NOT EXPAT_FOUND)
  14. # message(WARNING "No EXPAT dev package found in system, building static library. Consider installing the system package.")
  15. # endif ()