Package: libassimp-dev
Version: 5.0.1~ds0

Dear maintainer,

The CMake target "assimp::assimp" is broken and cannot be used:

>   Imported target "assimp::assimp" includes non-existent path
>
>     "/usr/lib/include"
>
>   in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:
>
>   * The path was deleted, renamed, or moved to another location.
>
>   * An install or uninstall procedure did not complete successfully.
>
>   * The installation package was faulty and references files it does
not provide.

As far as I can tell, this happens because debian/rules explicitly sets
-DASSIMP_LIB_INSTALL_DIR=lib/$(DEB_HOST_MULTIARCH) for Multi-Arch
support, but assimpTargets.cmake.in computes the install prefix by
always removing three directory levels from the CMake config location,
ending up in /usr/lib instead of /usr (lines 45-48).

Cheers
Timo

Reply via email to