CMake: De-duplicate checks around unordered maps and shared pointer
authorSergey Sharybin <sergey.vfx@gmail.com>
Thu, 14 Jan 2016 07:38:46 +0000 (12:38 +0500)
committerSergey Sharybin <sergey.vfx@gmail.com>
Thu, 14 Jan 2016 07:38:46 +0000 (12:38 +0500)
commit90e827ba660b3346d554e73c25bc1ad229fd736e
tree4559cfceb869d7791cfb94ddf2c706f8d75e9b8d
parent2af7637f207c420af602f43e514b1b20e7cfc718
CMake: De-duplicate checks around unordered maps and shared pointer

Previously several areas were calling TEST_SHARED_PTR_SUPPORT and
TEST_UNORDERED_MAP_SUPPORT which isn't that bad on it's own but
was causing some quite verbose output with same information line
printed multiple times. additionally, what's more worse, define flags
for Ceres were duplicated in main CMakeLists and Ceres's CMakeLists.

Now we've got a single place where checks for those classes are
happening and other areas are simply checking for variables set by
those check macros, keeping CMake output clean and nice.
CMakeLists.txt
extern/ceres/CMakeLists.txt
intern/cycles/CMakeLists.txt
source/blender/depsgraph/CMakeLists.txt