aboutsummaryrefslogtreecommitdiff
path: root/cmake/macros/AutoCollect.cmake
diff options
context:
space:
mode:
authoripriver <g1ran1q@gmail.com>2020-06-22 15:27:03 +0300
committerShauren <shauren.trinity@gmail.com>2022-01-06 23:40:39 +0100
commitbde36062b7a0bf621086e73a5d419cd8637e9e96 (patch)
tree509f8303b1f6e00cb1b4c44d88e5e7eb0093a369 /cmake/macros/AutoCollect.cmake
parentc776218cb5b0cc8f9f6d4d509cf6c36212eb38aa (diff)
fixed indentation for cmake files
(cherry picked from commit a46d047f9466c6f16597755bb7c771a9d1a147f2)
Diffstat (limited to 'cmake/macros/AutoCollect.cmake')
-rw-r--r--cmake/macros/AutoCollect.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/macros/AutoCollect.cmake b/cmake/macros/AutoCollect.cmake
index 73c019f7031..6b91517bc0d 100644
--- a/cmake/macros/AutoCollect.cmake
+++ b/cmake/macros/AutoCollect.cmake
@@ -36,7 +36,7 @@ function(CollectSourceFiles current_dir variable)
file(GLOB SUB_DIRECTORIES ${current_dir}/*)
foreach(SUB_DIRECTORY ${SUB_DIRECTORIES})
- if (IS_DIRECTORY ${SUB_DIRECTORY})
+ if(IS_DIRECTORY ${SUB_DIRECTORY})
CollectSourceFiles("${SUB_DIRECTORY}" "${variable}" "${ARGN}")
endif()
endforeach()
@@ -62,7 +62,7 @@ function(CollectIncludeDirectories current_dir variable)
list(APPEND ${variable} ${current_dir})
file(GLOB SUB_DIRECTORIES ${current_dir}/*)
foreach(SUB_DIRECTORY ${SUB_DIRECTORIES})
- if (IS_DIRECTORY ${SUB_DIRECTORY})
+ if(IS_DIRECTORY ${SUB_DIRECTORY})
CollectIncludeDirectories("${SUB_DIRECTORY}" "${variable}" "${ARGN}")
endif()
endforeach()