summaryrefslogtreecommitdiff
path: root/sw.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sw.cpp')
-rw-r--r--sw.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw.cpp b/sw.cpp
index adfd5b7..9f5ef63 100644
--- a/sw.cpp
+++ b/sw.cpp
@@ -1,11 +1,11 @@
void build(Solution &s)
{
- auto &tgbot = s.addTarget<StaticLibraryTarget>("reo7sp.tgbot", "1.2.0");
+ auto &tgbot = s.addLibrary("reo7sp.tgbot", "1.2.0");
+ tgbot += Git("https://github.com/reo7sp/tgbot-cpp", "v{M}.{m}");
{
- tgbot += Git("https://github.com/reo7sp/tgbot-cpp", "v{M}.{m}");
-
tgbot += cpp11;
+ tgbot.ApiName = "TGBOT_API";
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;