blob: bc5bc6fba57c55e1b6daa68e72b61f7a71e61468 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b17c512..ef7a27f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -21,9 +21,7 @@ macro(build_osqp)
include(ExternalProject)
externalproject_add(osqp-${git_tag}
- GIT_REPOSITORY https://github.com/osqp/osqp.git
- GIT_TAG ${git_tag}
- GIT_SHALLOW ON
+ URL ${CMAKE_SOURCE_DIR}/osqp-${git_tag}.tar.gz
TIMEOUT 60
# Suppress git update due to https://gitlab.kitware.com/cmake/cmake/-/issues/16419
UPDATE_COMMAND ""
|