diff options
Diffstat (limited to 'cmake/utils.cmake')
-rw-r--r-- | cmake/utils.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/utils.cmake b/cmake/utils.cmake index a0e0ee9..924b1ac 100644 --- a/cmake/utils.cmake +++ b/cmake/utils.cmake @@ -1,7 +1,7 @@ # Check if a dependency exist before trying to init git submodules function(check_init_submodule path) - file(GLOB DIR_CONTENT path) + file(GLOB DIR_CONTENT "${path}/*") list(LENGTH DIR_CONTENT CONTENT_COUNT) if (CONTENT_COUNT EQUAL 0) if (NOT EXISTS "${PROJECT_SOURCE_DIR}/.git") |