diff options
Diffstat (limited to 'intern/cycles/CMakeLists.txt')
-rw-r--r-- | intern/cycles/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/intern/cycles/CMakeLists.txt b/intern/cycles/CMakeLists.txt index 3df9a670f7d..c118f4cd015 100644 --- a/intern/cycles/CMakeLists.txt +++ b/intern/cycles/CMakeLists.txt @@ -157,7 +157,9 @@ add_definitions( -DWITH_MULTI ) -TEST_UNORDERED_MAP_SUPPORT() +if(CYCLES_STANDALONE_REPOSITORY) + TEST_UNORDERED_MAP_SUPPORT() +endif() if(HAVE_STD_UNORDERED_MAP_HEADER) if(HAVE_UNORDERED_MAP_IN_STD_NAMESPACE) add_definitions(-DCYCLES_STD_UNORDERED_MAP) |