When using libcosim as conan dependency with option libcosim:shared=False, CMake will fail unless Boost_USE_STATIC_LIBS is set. Please consider setting Boost_USE_STATIC_LIBS in generated libcosim-config.cmake for static build.
I believe this is fixed after the upgrade to Conan 2 (#747), because the machinery to find Boost and other dependencies is now generated by Conan's CMakeDeps generator. Please reopen if this is not the case.
When using libcosim as conan dependency with option
libcosim:shared=False
, CMake will fail unlessBoost_USE_STATIC_LIBS
is set. Please consider settingBoost_USE_STATIC_LIBS
in generatedlibcosim-config.cmake
for static build.