Package: libassimp-dev Severity: normal Tags: upstream Due to an upstream bug (1), Using libassimp-dev from CMake is broken due to the way the upstream CMake config calculates the root directory and the use of -DASSIMP_LIB_INSTALL_DIR to install assimp into a multiarch directory.
The included example CMakeLists.txt displays the issue. When I run it on stretch or buster I get output that includes -- ASSIMP_ROOT_DIR: /usr/lib -- ASSIMP_LIBRARY_DIRS: /usr/lib/lib/x86_64-linux-gnu -- ASSIMP_INCLUDE_DIRS: /usr/lib/include I have proposed a fix upstream (2) but I am not sure if or when it will be accepted. (1) https://github.com/assimp/assimp/issues/1914 (2) https://github.com/assimp/assimp/issues/1915 -- System Information: Debian Release: 9.4 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Versions of packages libassimp-dev depends on: pn libassimp3v5 <none> libassimp-dev recommends no packages. libassimp-dev suggests no packages. *** example/CMakeLists.txt cmake_minimum_required(VERSION 3.0) project(example) find_package(assimp) message(STATUS "ASSIMP_ROOT_DIR: ${ASSIMP_ROOT_DIR}") message(STATUS "ASSIMP_LIBRARY_DIRS: ${ASSIMP_LIBRARY_DIRS}") message(STATUS "ASSIMP_INCLUDE_DIRS: ${ASSIMP_INCLUDE_DIRS}")