summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rw-r--r--contrib/CMakeLists.txt32
1 files changed, 32 insertions, 0 deletions
diff --git a/contrib/CMakeLists.txt b/contrib/CMakeLists.txt
index a61ecb5..97b0708 100644
--- a/contrib/CMakeLists.txt
+++ b/contrib/CMakeLists.txt
@@ -1 +1,33 @@
+set(BUILD_SHARED_LIBS No)
+set(BUILD_GMOCK No)
+set(INSTALL_GTEST No)
add_subdirectory(imgui)
+FetchContent_Declare(
+ EnTT
+ GIT_REPOSITORY https://github.com/skypjack/entt.git
+ GIT_TAG v3.11.1
+ GIT_SHALLOW Yes
+ OVERRIDE_FIND_PACKAGE
+)
+FetchContent_Declare(
+ GTest
+ GIT_REPOSITORY https://github.com/google/googletest.git
+ GIT_TAG v1.13.0
+ GIT_SHALLOW Yes
+ OVERRIDE_FIND_PACKAGE
+)
+FetchContent_Declare(
+ nlohmann_json
+ GIT_REPOSITORY https://github.com/nlohmann/json.git
+ GIT_TAG v3.11.2
+ GIT_SHALLOW Yes
+ OVERRIDE_FIND_PACKAGE
+)
+FetchContent_Declare(
+ raylib
+ GIT_REPOSITORY https://github.com/raysan5/raylib.git
+ GIT_TAG 4.2.0
+ GIT_SHALLOW Yes
+ OVERRIDE_FIND_PACKAGE
+)
+FetchContent_MakeAvailable(EnTT GTest nlohmann_json raylib)