summaryrefslogtreecommitdiff
path: root/sw.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sw.cpp')
-rw-r--r--sw.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/sw.cpp b/sw.cpp
index 8aac529..bfd4a94 100644
--- a/sw.cpp
+++ b/sw.cpp
@@ -6,6 +6,10 @@ void build(Solution &s)
tgbot += cpp11;
tgbot.ApiName = "TGBOT_API";
+
+ if (tgbot.getCompilerType() == CompilerType::MSVC)
+ tgbot.CompileOptions.push_back("/Zc:__cplusplus");
+
tgbot.Public += "org.sw.demo.boost.property_tree"_dep;
tgbot.Public += "org.sw.demo.openssl.ssl"_dep;
tgbot.Public += "org.sw.demo.boost.system"_dep;