Open
Description
Description
Having a package consuming assimp and openimageio as dependencies to do a static build, I encounter 2 issues:
- minizip::minizip cmake target not found (see https://github.com/EstebanDugueperoux2/conan_assimp_test/blob/main/static_build_with_assimp_and_openimageio.log);
- once this first issue fixed by a workaround "deps.set_property("minizip", "cmake_target_name", "MINIZIP::minizip")" I got some "undefined reference to" error messages. (see https://github.com/EstebanDugueperoux2/conan_assimp_test/blob/main/static_build_with_assimp_and_openimageio_with_cmakedeps_property_workaround.log)
See https://github.com/EstebanDugueperoux2/conan_assimp_test to reproduce.
I reproduce these issues only when adding openimageio requirement in addition to assimp.
Package and Environment Details
- Package Name/Version: assimp/5.43
- Operating System+version: Linux Ubuntu 24.04.1 LTS
- Compiler+version: GCC 13
- Docker image: conanio/gcc13
- Conan version: conan 2.7.0
- Python version: Python 3.12.3
Conan profile
[settings]
os=Linux
arch=x86_64
compiler=gcc
compiler.cppstd=17
compiler.version=10
compiler.libcxx=libstdc++11
build_type=Release
Steps to reproduce
conan create . --build missing