diff options
Diffstat (limited to 'cmake/macros/AutoCollect.cmake')
-rw-r--r-- | cmake/macros/AutoCollect.cmake | 4 |
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() |