Added option to use the system installed TBB library. I used the USE_EXTERNAL_PUGIXML as a template.
It's defaults to OFF and is mutually exclusive to USE_TBB. It would be good to have USE_TBB turned off if USE_EXTERNAL_TBB is enabled but I'm not sure how to do that. You can merge this Pull Request by running: git pull https://github.com/hobbes1069/oiio master Or you can view, comment on it, or merge it online at: https://github.com/OpenImageIO/oiio/pull/191 -- Commit Summary -- * Add USE_EXTERNAL_TBB cmake option. * Update src/libOpenImageIO/CMakeLists.txt * Update src/libOpenImageIO/CMakeLists.txt * Add USE_EXTERNAL_TBB option. * Fix FindTBB.cmake -- File Changes -- M src/CMakeLists.txt (2) M src/cmake/externalpackages.cmake (13) A src/cmake/modules/FindTBB.cmake (21) M src/libOpenImageIO/CMakeLists.txt (6) -- Patch Links -- https://github.com/OpenImageIO/oiio/pull/191.patch https://github.com/OpenImageIO/oiio/pull/191.diff --- Reply to this email directly or view it on GitHub: https://github.com/OpenImageIO/oiio/pull/191 _______________________________________________ Oiio-dev mailing list [email protected] http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
