pocoproject / conan-poco

Conan.io package for POCO C++ Libraries
17 stars 28 forks source link

Bad lib suffix in Debug mode #35

Closed jano42 closed 5 years ago

jano42 commented 5 years ago

I'm using conan and latest poco stable version 1.9.0

My environnement:

In conanfile.py (line 170) the suffix is:

But it should be

I suggest splitting suffix building line with:

        suffix = str(self.settings.compiler.runtime).lower()  \
                 if self.settings.compiler == "Visual Studio" and not self.options.shared \
                 else ""
        suffix += "d" if self.settings.build_type=="Debug" else ""
jano42 commented 5 years ago

I found my mistake In debug mode the runtime should be MTd not MT