aboutsummaryrefslogtreecommitdiff
path: root/cmake/utils.cmake
diff options
context:
space:
mode:
authorJan200101 <sentrycraft123@gmail.com>2023-09-10 23:54:22 +0200
committerJan200101 <sentrycraft123@gmail.com>2023-09-10 23:54:22 +0200
commit13df46ba41efe2d94e3dbec240ff0889ac054eb7 (patch)
treef76ba0d5e109973429caef5e2001f99c3fdd7a85 /cmake/utils.cmake
parentac01bde6b9673b80dd225be3edebbe2255d9ebd2 (diff)
downloadSouthRPC-13df46ba41efe2d94e3dbec240ff0889ac054eb7.tar.gz
SouthRPC-13df46ba41efe2d94e3dbec240ff0889ac054eb7.zip
MSVC
Diffstat (limited to 'cmake/utils.cmake')
-rw-r--r--cmake/utils.cmake2
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")