-
Notifications
You must be signed in to change notification settings - Fork 6.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix compile error in internal version of Visual Studio (#20127)
- Loading branch information
1 parent
5bc3538
commit 045c1ca
Showing
5 changed files
with
39 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
diff --git a/quill/CMakeLists.txt b/quill/CMakeLists.txt | ||
index 76872c2..c173804 100644 | ||
--- a/quill/CMakeLists.txt | ||
+++ b/quill/CMakeLists.txt | ||
@@ -148,6 +148,10 @@ if (QUILL_NO_EXCEPTIONS) | ||
endif () | ||
endif () | ||
|
||
+if (MSVC) | ||
+ add_definitions(/wd4189) | ||
+endif() | ||
+ | ||
# Add target sources | ||
target_sources(${TARGET_NAME} PRIVATE ${SOURCE_FILES} ${HEADER_FILES}) | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,19 @@ | ||
{ | ||
"name": "quill", | ||
"version-semver": "1.6.3", | ||
"port-version": 1, | ||
"description": "C++14 Asynchronous Low Latency Logging Library", | ||
"homepage": "https://github.com/odygrd/quill/", | ||
"supports": "!(uwp | android)", | ||
"dependencies": [ | ||
"fmt" | ||
"fmt", | ||
{ | ||
"name": "vcpkg-cmake", | ||
"host": true | ||
}, | ||
{ | ||
"name": "vcpkg-cmake-config", | ||
"host": true | ||
} | ||
] | ||
} |
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