diff options
author | Aki <please@ignore.pl> | 2023-03-16 20:00:45 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2024-04-05 19:41:19 +0200 |
commit | ea6f40cbfd54166712d38efce9533c47516b8e9c (patch) | |
tree | 8ac732463609bd3b90b59ccc400e1f9e9f65dffd /contrib/CMakeLists.txt | |
parent | 335ec9b4ec1d9006f6b551f8338fddbcd36a8568 (diff) | |
download | kurator-ea6f40cbfd54166712d38efce9533c47516b8e9c.zip kurator-ea6f40cbfd54166712d38efce9533c47516b8e9c.tar.gz kurator-ea6f40cbfd54166712d38efce9533c47516b8e9c.tar.bz2 |
Use release tarballs instead of git repository
This is preferable because checking out a tag requires to clone the
entire repository.
Diffstat (limited to 'contrib/CMakeLists.txt')
-rw-r--r-- | contrib/CMakeLists.txt | 28 |
1 files changed, 12 insertions, 16 deletions
diff --git a/contrib/CMakeLists.txt b/contrib/CMakeLists.txt index 3d98ee4..e016789 100644 --- a/contrib/CMakeLists.txt +++ b/contrib/CMakeLists.txt @@ -14,36 +14,32 @@ set(ENTT_USE_LIBCPP OFF CACHE INTERNAL "") set(ENTT_BUILD_TESTING OFF CACHE INTERNAL "") FetchContent_Declare( EnTT - GIT_REPOSITORY https://github.com/skypjack/entt.git - GIT_TAG v3.11.1 - GIT_SHALLOW Yes - OVERRIDE_FIND_PACKAGE + URL https://github.com/skypjack/entt/archive/refs/tags/v3.11.1.tar.gz + URL_HASH SHA1=ef36f33d0edb3688eee8519e2350a9b62460c39f + DOWNLOAD_EXTRACT_TIMESTAMP No ) set(BUILD_GMOCK OFF CACHE INTERNAL "") set(INSTALL_GTEST OFF CACHE INTERNAL "") FetchContent_Declare( GTest - GIT_REPOSITORY https://github.com/google/googletest.git - GIT_TAG v1.13.0 - GIT_SHALLOW Yes - OVERRIDE_FIND_PACKAGE + URL https://github.com/google/googletest/archive/refs/tags/v1.13.0.tar.gz + URL_HASH SHA1=bfa4b5131b6eaac06962c251742c96aab3f7aa78 + DOWNLOAD_EXTRACT_TIMESTAMP No ) set(JSON_MultipleHeaders ON CACHE INTERNAL "") FetchContent_Declare( nlohmann_json - GIT_REPOSITORY https://github.com/nlohmann/json.git - GIT_TAG v3.11.2 - GIT_SHALLOW Yes - OVERRIDE_FIND_PACKAGE + URL https://github.com/nlohmann/json/archive/refs/tags/v3.11.2.tar.gz + URL_HASH SHA1=1b0701dc7fdc068aad8ce68fc3e019a038232437 + DOWNLOAD_EXTRACT_TIMESTAMP No ) set(CMAKE_BUILD_TYPE Release CACHE INTERNAL "") set(OpenGL_GL_PREFERENCE GLVND CACHE INTERNAL "") set(USE_EXTERNAL_GLFW OFF CACHE INTERNAL "") FetchContent_Declare( raylib - GIT_REPOSITORY https://github.com/raysan5/raylib.git - GIT_TAG 4.2.0 - GIT_SHALLOW Yes - OVERRIDE_FIND_PACKAGE + URL https://github.com/raysan5/raylib/archive/refs/tags/4.2.0.tar.gz + URL_HASH SHA1=4fdc9d014a66247f99d371e0a12872f15a468133 + DOWNLOAD_EXTRACT_TIMESTAMP No ) MakeAvailable(EnTT GTest nlohmann_json raylib) |