forked from MaaAssistantArknights/MaaDeps
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
20 additions
and
2 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
vcpkg-overlay/ports/maa-onnxruntime/0000-system-lib-fix.patch
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,17 @@ | ||
diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt | ||
index 5555fa6..87a99f7 100644 | ||
--- a/cmake/CMakeLists.txt | ||
+++ b/cmake/CMakeLists.txt | ||
@@ -39,12 +39,7 @@ include(CMakeDependentOption) | ||
include(FetchContent) | ||
include(CheckFunctionExists) | ||
|
||
-# TODO: update this once all system adapt c++20 | ||
-if(CMAKE_SYSTEM_NAME STREQUAL "Darwin") | ||
-set(CMAKE_CXX_STANDARD 20) | ||
-else() | ||
set(CMAKE_CXX_STANDARD 17) | ||
-endif() | ||
|
||
if (MSVC) | ||
# Make sure Visual Studio sets __cplusplus macro correctly: https://learn.microsoft.com/en-us/cpp/build/reference/zc-cplusplus |
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