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
When trying to use
find_package(CppUTest REQUIRED)using theCppUTestConfig.cmakefile provided bylibcpputest-devfails on trying to locate the include directory. From what I can tell, thePACKAGE_PREFIX_DIRthat is generated doesn't account for thex86_64-linux-gnudirectory that is used by Debian multiarch.It also looks like the
GNUInstallDirs.cmakemodule attempts to accommodate Debian and append the architecture to the libdir. This doesn't appear to be happening in the release build. I think usinglibdirinMakefile.amdoesn't account for debian multiarch as indicated here: https://wiki.debian.org/Multiarch/Implementation#autotools_with_no_helper