Closed naveen521kk closed 2 years ago
When building with Conda, pkg-config returns -lm flag which isn't present on Windows and the compilation errors out. Instead, let's ignore those libraries on MSVC even if pkg-config returns it. This is what is done on other build-systems like Meson.
-lm
This PR ended up containing some extra fixes:
When building with Conda, pkg-config returns
-lm
flag which isn't present on Windows and the compilation errors out. Instead, let's ignore those libraries on MSVC even if pkg-config returns it. This is what is done on other build-systems like Meson.