]> git.tdb.fi Git - builder.git/commitdiff
Add MSVC-specific library name for sigc++
authorMikko Rasa <mikko.rasa@mikkosoft.fi>
Wed, 1 Sep 2021 00:41:35 +0000 (03:41 +0300)
committerMikko Rasa <mikko.rasa@mikkosoft.fi>
Wed, 1 Sep 2021 00:41:35 +0000 (03:41 +0300)
This is hardcoded for the debug version now, until I come up with a way
to make it conditional on build type.

packages/sigc++-2.0.bpk

index 88cd3beac26182c4ffdebe87ed1eafb555bc1037..ebcbeb964630ef510baf844d7944cf6cc74b57dd 100644 (file)
@@ -2,10 +2,23 @@ binary_package "sigc++-2.0"
 {
        build_info
        {
-               library "sigc-2.0";
                incpath "include/sigc++-2.0";
                standard CXX "c++11";
        };
+       if_arch "msvc"
+       {
+               build_info
+               {
+                       library "sigc-vc140-d-2_0";
+               };
+       };
+       if_arch "!msvc"
+       {
+               build_info
+               {
+                       library "sigc-2.0";
+               };
+       };
        if_arch "linux-64"
        {
                build_info