As spotted by user the cmake/bundle-install.cmake.in is not working in config Debug since we don't take into account the variable CMAKE_DEBUG_POSTFIX.
here we should add few wildcard (or better use ${CMAKE_DEBUG_POSTFIX}) to find the correct static lib dependencies
|
set(DEPS absl_*.lib zlib.lib re2.lib *protobuf.lib) |
|
if (@BUILD_Cbc@) |
|
set(DEPS ${DEPS} Cbc*.lib) |
|
endif() |
|
if (@BUILD_Cgl@) |
|
set(DEPS ${DEPS} Cgl.lib) |
|
endif() |
|
if (@BUILD_Clp@) |
|
set(DEPS ${DEPS} Clp*.lib) |
|
endif() |
|
if (@BUILD_Osi@) |
|
set(DEPS ${DEPS} Osi*.lib) |
|
endif() |
|
if (@BUILD_CoinUtils@) |
|
set(DEPS ${DEPS} CoinUtils.lib) |
|
endif() |
|
|
|
if (@BUILD_SCIP@) |
|
set(DEPS ${DEPS} libscip.lib) |
|
endif() |
|
if (@BUILD_GLPK@) |
|
set(DEPS ${DEPS} libglpk.lib) |
|
endif() |
Todo:
ref: https://cmake.org/cmake/help/latest/variable/CMAKE_CONFIG_POSTFIX.html#variable:CMAKE_%3CCONFIG%3E_POSTFIX
As spotted by user the cmake/bundle-install.cmake.in is not working in config Debug since we don't take into account the variable
CMAKE_DEBUG_POSTFIX.here we should add few wildcard (or better use
${CMAKE_DEBUG_POSTFIX}) to find the correct static lib dependenciesor-tools/cmake/bundle-install.cmake.in
Lines 16 to 38 in a834604
Todo:
ref: https://cmake.org/cmake/help/latest/variable/CMAKE_CONFIG_POSTFIX.html#variable:CMAKE_%3CCONFIG%3E_POSTFIX