-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into dev/add_energy_scheduler
- Loading branch information
Showing
73 changed files
with
929 additions
and
10,411 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
cmake_policy(SET CMP0069 NEW) | ||
set(CMAKE_POLICY_DEFAULT_CMP0069 NEW) | ||
|
||
include(FetchContent) | ||
|
||
if (CRANE_USE_GITEE_SOURCE) | ||
set(CURL_URL "https://gitee.com/mirrors/curl/archive/curl-8_5_0.tar.gz") | ||
else () | ||
set(CURL_URL "https://github.com/curl/curl/releases/download/curl-8_5_0/curl-8.5.0.tar.gz") | ||
endif () | ||
|
||
FetchContent_Declare( | ||
curl | ||
URL ${CURL_URL} | ||
URL_HASH SHA256=05fc17ff25b793a437a0906e0484b82172a9f4de02be5ed447e0cab8c3475add | ||
) | ||
|
||
FetchContent_GetProperties(curl) | ||
if(NOT curl_POPULATED) | ||
set(BUILD_SHARED_LIBS OFF) | ||
set(BUILD_TESTING OFF) | ||
set(HTTP_ONLY ON) | ||
set(ENABLE_MANUAL OFF) | ||
FetchContent_Populate(curl) | ||
add_subdirectory(${curl_SOURCE_DIR} ${curl_BINARY_DIR}) | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.