Currently the use of pkg-config in CMinpackConfig.cmake in WIN32 is making it append ;cminpack;m to CMINPACK_LIBRARIES, and this causes linkage problems, since these libraries cannot be found.
Output of the relevant part from CMake:
-- Found PkgConfig: C:/ProgramData/chocolatey/bin/pkg-config.exe (found version "0.28")
-- Checking for module 'cminpack'
-- Found cminpack, version 1.3.6
-- Found CMinpack: C:/prefix/lib/cminpack.lib
-- CMinPack found (include: C:/prefix/include/cminpack-1, libs: optimized;C:/prefix/lib/cminpack.lib;debug;C:/prefix/lib/cminpack.lib;cminpack;m)
Currently the use of
pkg-config
in CMinpackConfig.cmake in WIN32 is making it append;cminpack;m
toCMINPACK_LIBRARIES
, and this causes linkage problems, since these libraries cannot be found.Output of the relevant part from CMake: