Cleanup: cmake indentation

This commit is contained in:
Campbell Barton 2023-06-16 12:20:33 +10:00
parent 6a75ff7afa
commit 24fef21bf8
7 changed files with 15 additions and 15 deletions

View file

@ -15,7 +15,7 @@ if(NOT WIN32)
INSTALL_DIR ${LIBDIR}/ogg
)
else()
ExternalProject_Add(external_ogg
ExternalProject_Add(external_ogg
URL file://${PACKAGE_DIR}/${OGG_FILE}
DOWNLOAD_DIR ${DOWNLOAD_DIR}
URL_HASH ${OGG_HASH_TYPE}=${OGG_HASH}

View file

@ -12,8 +12,8 @@
# LAME_FOUND - True if Lame found.
if (LAME_INCLUDE_DIR)
# Already in cache, be silent
set(LAME_FIND_QUIETLY TRUE)
# Already in cache, be silent
set(LAME_FIND_QUIETLY TRUE)
endif ()
find_path (LAME_INCLUDE_DIR lame/lame.h

View file

@ -23,7 +23,7 @@ if(LLVM_ROOT_DIR)
endif()
else()
if(DEFINED LLVM_VERSION)
message(running llvm-config-${LLVM_VERSION})
message(running llvm-config-${LLVM_VERSION})
find_program(LLVM_CONFIG llvm-config-${LLVM_VERSION})
endif()
if(NOT LLVM_CONFIG)

View file

@ -279,18 +279,18 @@ function(gtest_add_tests)
endif()
set(options
SKIP_DEPENDENCY
SKIP_DEPENDENCY
)
set(oneValueArgs
TARGET
WORKING_DIRECTORY
TEST_PREFIX
TEST_SUFFIX
TEST_LIST
TARGET
WORKING_DIRECTORY
TEST_PREFIX
TEST_SUFFIX
TEST_LIST
)
set(multiValueArgs
SOURCES
EXTRA_ARGS
SOURCES
EXTRA_ARGS
)
set(allKeywords ${options} ${oneValueArgs} ${multiValueArgs})

View file

@ -13,7 +13,7 @@ if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_C_COMPILER_ID MATCHES "Clang")
endif()
if(WIN32)
add_definitions(-D_USE_MATH_DEFINES)
add_definitions(-D_USE_MATH_DEFINES)
endif()
set(LEMON_3RD_PATH 3rd/lemon-1.3.1)

View file

@ -43,7 +43,7 @@ set(SRC
)
set(LIB
bf_blenkernel
bf_blenkernel
)

View file

@ -61,7 +61,7 @@ set(SRC
)
set(LIB
bf_realtime_compositor
bf_realtime_compositor
)
if(WITH_PYTHON)