mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 19:28:59 +08:00
ecba240490
* [microsoft-signalr] Fix build failed on Linux * Nicole CRs Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com> Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
18 lines
647 B
Diff
18 lines
647 B
Diff
diff --git a/src/signalrclient/CMakeLists.txt b/src/signalrclient/CMakeLists.txt
|
|
index 42d64d3..10fa72f 100644
|
|
--- a/src/signalrclient/CMakeLists.txt
|
|
+++ b/src/signalrclient/CMakeLists.txt
|
|
@@ -58,10 +58,10 @@ else()
|
|
target_compile_options(signalrclient PRIVATE -Wall)
|
|
endif()
|
|
|
|
- # GCC on OSX has a bug with exceptions and no-rtti that can cause crashes
|
|
- if(NOT APPLE)
|
|
+ # boost-asio (a dependency) doesn't support fno-rtti anymore
|
|
+ if(0)
|
|
target_compile_options(signalrclient PRIVATE -fno-rtti)
|
|
endif()
|
|
target_compile_options(signalrclient PRIVATE -Wextra -Wpedantic -Wno-unknown-pragmas)
|
|
endif()
|
|
|