From d5ceaee2d8560307f6fcb65893878594b216e4fa Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Wed, 1 Sep 2021 03:41:35 +0300 Subject: [PATCH] Add MSVC-specific library name for sigc++ 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 | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/packages/sigc++-2.0.bpk b/packages/sigc++-2.0.bpk index 88cd3be..ebcbeb9 100644 --- a/packages/sigc++-2.0.bpk +++ b/packages/sigc++-2.0.bpk @@ -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 -- 2.45.2