From 3076d95ba441cd32706a27d18922a30f8fd28b8a Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 17 Apr 2019 06:35:54 +0200 Subject: Cleanup: use 2 space indentation for CMake --- extern/CMakeLists.txt | 62 +++++++++++++++++++++++++-------------------------- 1 file changed, 31 insertions(+), 31 deletions(-) (limited to 'extern/CMakeLists.txt') diff --git a/extern/CMakeLists.txt b/extern/CMakeLists.txt index 450f5e64351..3b2a8c172aa 100644 --- a/extern/CMakeLists.txt +++ b/extern/CMakeLists.txt @@ -26,9 +26,9 @@ remove_strict_flags() # Not a strict flag, but noisy for code we don't maintain if(CMAKE_COMPILER_IS_GNUCC) - remove_cc_flag( - "-Wmisleading-indentation" - ) + remove_cc_flag( + "-Wmisleading-indentation" + ) endif() @@ -36,72 +36,72 @@ add_subdirectory(rangetree) add_subdirectory(wcwidth) if(WITH_BULLET) - if(NOT WITH_SYSTEM_BULLET) - add_subdirectory(bullet2) - endif() + if(NOT WITH_SYSTEM_BULLET) + add_subdirectory(bullet2) + endif() endif() if(WITH_DRACO) - add_subdirectory(draco) + add_subdirectory(draco) endif() # now only available in a branch #if(WITH_MOD_CLOTH_ELTOPO) -# add_subdirectory(eltopo) +# add_subdirectory(eltopo) #endif() if(WITH_BINRELOC) - add_subdirectory(binreloc) + add_subdirectory(binreloc) endif() if(NOT WITH_SYSTEM_GLEW) - if(WITH_GLEW_ES) - add_subdirectory(glew-es) - else() - add_subdirectory(glew) - endif() + if(WITH_GLEW_ES) + add_subdirectory(glew-es) + else() + add_subdirectory(glew) + endif() endif() if(WITH_LZO AND NOT WITH_SYSTEM_LZO) - add_subdirectory(lzo) + add_subdirectory(lzo) endif() if(WITH_LZMA) - add_subdirectory(lzma) + add_subdirectory(lzma) endif() if(WITH_CYCLES OR WITH_COMPOSITOR OR WITH_OPENSUBDIV) - add_subdirectory(clew) - if(WITH_CUDA_DYNLOAD) - add_subdirectory(cuew) - endif() + add_subdirectory(clew) + if(WITH_CUDA_DYNLOAD) + add_subdirectory(cuew) + endif() endif() if(WITH_X11 AND WITH_GHOST_XDND) - add_subdirectory(xdnd) + add_subdirectory(xdnd) endif() if(WITH_LIBMV) - add_subdirectory(ceres) + add_subdirectory(ceres) endif() if(WITH_LIBMV OR WITH_GTESTS OR (WITH_CYCLES AND WITH_CYCLES_LOGGING)) - if(NOT WITH_SYSTEM_GFLAGS) - add_subdirectory(gflags) - endif() - add_subdirectory(glog) + if(NOT WITH_SYSTEM_GFLAGS) + add_subdirectory(gflags) + endif() + add_subdirectory(glog) endif() if(WITH_GTESTS) - add_subdirectory(gtest) - add_subdirectory(gmock) + add_subdirectory(gtest) + add_subdirectory(gmock) endif() if(WITH_SDL AND WITH_SDL_DYNLOAD) - add_subdirectory(sdlew) + add_subdirectory(sdlew) endif() if(WITH_AUDASPACE AND NOT WITH_SYSTEM_AUDASPACE) - set(AUDASPACE_CMAKE_CFG ${CMAKE_CURRENT_SOURCE_DIR}/audaspace/blender_config.cmake) - add_subdirectory(audaspace) + set(AUDASPACE_CMAKE_CFG ${CMAKE_CURRENT_SOURCE_DIR}/audaspace/blender_config.cmake) + add_subdirectory(audaspace) endif() -- cgit v1.2.3