diff options
author | Jan200101 <sentrycraft123@gmail.com> | 2023-09-10 23:54:22 +0200 |
---|---|---|
committer | Jan200101 <sentrycraft123@gmail.com> | 2023-09-10 23:54:22 +0200 |
commit | 13df46ba41efe2d94e3dbec240ff0889ac054eb7 (patch) | |
tree | f76ba0d5e109973429caef5e2001f99c3fdd7a85 /cmake/utils.cmake | |
parent | ac01bde6b9673b80dd225be3edebbe2255d9ebd2 (diff) | |
download | SouthRPC-13df46ba41efe2d94e3dbec240ff0889ac054eb7.tar.gz SouthRPC-13df46ba41efe2d94e3dbec240ff0889ac054eb7.zip |
MSVC
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") |