Skip to content

CppUTestConfig.cmake in libcpputest-dev can't find CppUTest_INCLUDE_DIRS #1563

@Arrowbox

Description

@Arrowbox

When trying to use find_package(CppUTest REQUIRED) using the CppUTestConfig.cmake file provided by libcpputest-dev fails on trying to locate the include directory. From what I can tell, the PACKAGE_PREFIX_DIR that is generated doesn't account for the x86_64-linux-gnu directory that is used by Debian multiarch.

It also looks like the GNUInstallDirs.cmake module attempts to accommodate Debian and append the architecture to the libdir. This doesn't appear to be happening in the release build. I think using libdir in Makefile.am doesn't account for debian multiarch as indicated here: https://wiki.debian.org/Multiarch/Implementation#autotools_with_no_helper

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions