Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-06-19 00:24:55 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-06-19 00:32:21 +0300
commitdfe2ca26f714769158093a3a9f2ee1897194fe2a (patch)
treee8133764079836844097b6ee622e286c06f12d4a /build_files/cmake
parent82afc58f91629ddfefbd1f8fe059343577837294 (diff)
Cleanup: style, indentation
Diffstat (limited to 'build_files/cmake')
-rw-r--r--build_files/cmake/macros.cmake4
-rw-r--r--build_files/cmake/platform/platform_win32.cmake4
2 files changed, 4 insertions, 4 deletions
diff --git a/build_files/cmake/macros.cmake b/build_files/cmake/macros.cmake
index 4095b7bc815..e6ae3b5efdb 100644
--- a/build_files/cmake/macros.cmake
+++ b/build_files/cmake/macros.cmake
@@ -251,7 +251,7 @@ function(blender_add_lib__impl
add_library(${name} ${sources})
- if (NOT "${library_deps}" STREQUAL "")
+ if(NOT "${library_deps}" STREQUAL "")
target_link_libraries(${name} INTERFACE "${library_deps}")
endif()
@@ -1240,7 +1240,7 @@ macro(WINDOWS_SIGN_TARGET target)
endmacro()
macro(blender_precompile_headers target cpp header)
- if (MSVC)
+ if(MSVC)
# get the name for the pch output file
get_filename_component( pchbase ${cpp} NAME_WE )
set( pchfinal "${CMAKE_CURRENT_BINARY_DIR}/${pchbase}.pch" )
diff --git a/build_files/cmake/platform/platform_win32.cmake b/build_files/cmake/platform/platform_win32.cmake
index f91f9d8fef0..3fc0d20fb46 100644
--- a/build_files/cmake/platform/platform_win32.cmake
+++ b/build_files/cmake/platform/platform_win32.cmake
@@ -30,7 +30,7 @@ if(CMAKE_C_COMPILER_ID MATCHES "Clang")
set(MSVC_CLANG On)
set(VC_TOOLS_DIR $ENV{VCToolsRedistDir} CACHE STRING "Location of the msvc redistributables")
set(MSVC_REDIST_DIR ${VC_TOOLS_DIR})
- if (DEFINED MSVC_REDIST_DIR)
+ if(DEFINED MSVC_REDIST_DIR)
file(TO_CMAKE_PATH ${MSVC_REDIST_DIR} MSVC_REDIST_DIR)
else()
message("Unable to detect the Visual Studio redist directory, copying of the runtime dlls will not work, try running from the visual studio developer prompt.")
@@ -643,7 +643,7 @@ if(WITH_CYCLES_EMBREE)
endif()
endif()
-if (WINDOWS_PYTHON_DEBUG)
+if(WINDOWS_PYTHON_DEBUG)
# Include the system scripts in the blender_python_system_scripts project.
FILE(GLOB_RECURSE inFiles "${CMAKE_SOURCE_DIR}/release/scripts/*.*" )
ADD_CUSTOM_TARGET(blender_python_system_scripts SOURCES ${inFiles})