diff options
author | Campbell Barton <campbell@blender.org> | 2022-01-28 06:08:11 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-01-28 06:52:47 +0300 |
commit | ebd0e7608860e0a7a1b0fbe563a4329919f78799 (patch) | |
tree | 4ff655ad9b3e3c40b48dff73e0cd31195c340cf0 /intern/cycles | |
parent | 9f6b19526de8b69bf8015b835f358dd8c2eb6449 (diff) |
Cleanup: indentation for CMake files
Also minor white-space & case changes.
Diffstat (limited to 'intern/cycles')
-rw-r--r-- | intern/cycles/cmake/external_libs.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/cmake/external_libs.cmake b/intern/cycles/cmake/external_libs.cmake index f46d18a4926..8d9631e5b44 100644 --- a/intern/cycles/cmake/external_libs.cmake +++ b/intern/cycles/cmake/external_libs.cmake @@ -559,10 +559,10 @@ if(WITH_CYCLES_DEVICE_METAL) find_library(METAL_LIBRARY Metal) # This file was added in the 12.0 SDK, use it as a way to detect the version. - if (METAL_LIBRARY AND NOT EXISTS "${METAL_LIBRARY}/Headers/MTLFunctionStitching.h") + if(METAL_LIBRARY AND NOT EXISTS "${METAL_LIBRARY}/Headers/MTLFunctionStitching.h") message(STATUS "Metal version too old, must be SDK 12.0 or newer, disabling WITH_CYCLES_DEVICE_METAL") set(WITH_CYCLES_DEVICE_METAL OFF) - elseif (NOT METAL_LIBRARY) + elseif(NOT METAL_LIBRARY) message(STATUS "Metal not found, disabling WITH_CYCLES_DEVICE_METAL") set(WITH_CYCLES_DEVICE_METAL OFF) else() |