BuildSystem/Cleanup: Fix warning behaviour regarding library dependencies
authorRay Molenkamp <github@lazydodo.com>
Fri, 7 Feb 2020 14:27:40 +0000 (07:27 -0700)
committerRay Molenkamp <github@lazydodo.com>
Fri, 7 Feb 2020 14:27:40 +0000 (07:27 -0700)
commit6477fcf40f541bcb8de24aa8023df53775cc7827
treeabdb20301bd2239b23fd32f363fe966767dd3348
parent1a93bc2db874b10054ad2814dff5705ce751963a
BuildSystem/Cleanup: Fix warning behaviour regarding library dependencies

Adding USD to a lite build fails to build due to boost errors, when you turn
boost on and rebuild still boost errors, boost was silently turned off since
it was not deemed needed. Once boost was forced on, it still fails due to TBB
being off.

This patch fixes:

- The Silent disabling of boost
- Add a check that USD is is not on before doing that
- move the TBB checks to a central location rather than the individual platform files
- Add USD to the TBB checks.

Differential Revision: https://developer.blender.org/D6479

Reviewers: brecht, sybren
CMakeLists.txt
build_files/cmake/macros.cmake
build_files/cmake/platform/platform_apple.cmake
build_files/cmake/platform/platform_unix.cmake
build_files/cmake/platform/platform_win32.cmake