From a5c984a57d5fef45677876af15bff39632e5f552 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 4 Mar 2020 10:47:24 +1100 Subject: Cleanup: cmake indentation --- build_files/cmake/macros.cmake | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'build_files/cmake/macros.cmake') diff --git a/build_files/cmake/macros.cmake b/build_files/cmake/macros.cmake index cb45d30c664..6287da55580 100644 --- a/build_files/cmake/macros.cmake +++ b/build_files/cmake/macros.cmake @@ -947,7 +947,7 @@ function(data_to_c_simple set_source_files_properties(${_file_to} PROPERTIES GENERATED TRUE) endfunction() -# macro for converting pixmap directory to a png and then a c file +# Function for converting pixmap directory to a '.png' and then a '.c' file. function(data_to_c_simple_icons path_from icon_prefix icon_names list_to_add @@ -1160,12 +1160,12 @@ macro(blender_precompile_headers target cpp header) endmacro() macro(set_and_warn_dependency - _dependency _setting _val) - # when $_dependency is disabled, forces $_setting = $_val - if(NOT ${${_dependency}} AND ${${_setting}}) - message(STATUS "'${_dependency}' is disabled: forcing 'set(${_setting} ${_val})'") - set(${_setting} ${_val}) - endif() + _dependency _setting _val) + # when $_dependency is disabled, forces $_setting = $_val + if(NOT ${${_dependency}} AND ${${_setting}}) + message(STATUS "'${_dependency}' is disabled: forcing 'set(${_setting} ${_val})'") + set(${_setting} ${_val}) + endif() endmacro() macro(without_system_libs_begin) -- cgit v1.2.3