depot/third_party/nixpkgs/pkgs/by-name/na/nanoboyadvance/dont-fetch-glad.patch
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

14 lines
507 B
Diff

diff --git a/src/platform/core/CMakeLists.txt b/src/platform/core/CMakeLists.txt
index 2bc6d8c..3175c14 100644
--- a/src/platform/core/CMakeLists.txt
+++ b/src/platform/core/CMakeLists.txt
@@ -18,8 +18,7 @@ find_package(OpenGL REQUIRED)
include(FetchContent)
FetchContent_Declare(glad
- GIT_REPOSITORY https://github.com/Dav1dde/glad.git
- GIT_TAG adc3d7a1d704e099581ca25bc5bbdf728c2db67b # v2.0.5-2-gadc3d7a
+ SOURCE_DIR @gladSrc@
SOURCE_SUBDIR cmake
)
FetchContent_MakeAvailable(glad)