I get several linking errors for Poco projexts with Conan package manage on Windows like the following
.conan\data\poco\1.10.1\_\_\package\d0e9f44a88e404fed65e5d6af2191422fc27fe30\lib\PocoZipmd.lib : warning LNK4272: library machine type 'x64' conflicts with target machine type 'x86'
Any ideas on how to fix it?
My CMakeLists.txt:
cmake_minimum_required(VERSION 3.11)
include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
conan_basic_setup(TARGETS)
add_executable(md5 md5.cpp)
target_link_libraries(md5 CONAN_PKG::poco)
My conanifo file is the following:
[settings]
arch=x86_64
build_type=Release
compiler=Visual Studio
compiler.runtime=MD
compiler.version=15
os=Windows
[requires]
poco/1.Y.Z
[options]
[full_settings]
arch=x86_64
build_type=Release
compiler=Visual Studio
compiler.runtime=MD
compiler.version=15
os=Windows
[full_requires]
openssl/1.1.1g:6cc50b139b9c3d27b3e9042d5f5372d327b3a9f7
poco/1.10.1:d0e9f44a88e404fed65e5d6af2191422fc27fe30
...