diff options
author | Aki <please@ignore.pl> | 2023-03-13 23:35:10 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2024-04-05 19:40:50 +0200 |
commit | f2bb61bce004163aacd1aad390f0eabfb5db9963 (patch) | |
tree | 51d330dea7228caa137f27a2e98bf3137e151a0e /contrib/CMakeLists.txt | |
parent | 6a962253fe0cc39183e2584948d5adec09639b7e (diff) | |
download | kurator-f2bb61bce004163aacd1aad390f0eabfb5db9963.zip kurator-f2bb61bce004163aacd1aad390f0eabfb5db9963.tar.gz kurator-f2bb61bce004163aacd1aad390f0eabfb5db9963.tar.bz2 |
Use FetchContent to handle dependencies
Diffstat (limited to 'contrib/CMakeLists.txt')
-rw-r--r-- | contrib/CMakeLists.txt | 32 |
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) |