cmake: try to fix DEBUG install when using MSVC

protobuf and zlib do use CMAKE_DEBUG_POSTFIX
This commit is contained in:
Corentin Le Molgat
2024-03-04 15:47:23 +01:00
parent a42f11a32f
commit fc1a478309

View File

@@ -13,7 +13,7 @@ execute_process(
WORKING_DIRECTORY "@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@"
)
set(DEPS absl_*.lib zlib.lib re2.lib *protobuf.lib)
set(DEPS absl_*.lib zlib*.lib re2.lib *protobuf*.lib)
if (@BUILD_Cbc@)
set(DEPS ${DEPS} Cbc*.lib)
endif()