diff --git a/.gitmodules b/.gitmodules index d6f4366..6e1ca9c 100644 --- a/.gitmodules +++ b/.gitmodules @@ -10,3 +10,6 @@ [submodule "third_party/scnlib"] path = third_party/scnlib url = https://github.com/eliaskosunen/scnlib.git +[submodule "third_party/glob"] + path = third_party/glob + url = https://github.com/p-ranav/glob.git diff --git a/third_party/cmake/glob.cmake b/third_party/cmake/glob.cmake new file mode 100644 index 0000000..5abee54 --- /dev/null +++ b/third_party/cmake/glob.cmake @@ -0,0 +1,7 @@ +# glob-0.0.1 (46fb9fc9) +set(lib_dir ${oops_3rd_dir}/glob) +if(NOT EXISTS "${lib_dir}/CMakeLists.txt") + execute_process(COMMAND git submodule update --init --recursive ${lib_dir}) +endif() + +add_subdirectory(${lib_dir}) diff --git a/third_party/glob b/third_party/glob new file mode 160000 index 0000000..46fb9fc --- /dev/null +++ b/third_party/glob @@ -0,0 +1 @@ +Subproject commit 46fb9fc92d2fd8b41f536b2ccb371a6ea212e606