CMake Targets Contains Invalid INTERFACE_INCLUDE_DIRECTORIES Values
The autogenerated 'Targets.cmake' file contains valid entries, as shown below.
set_target_properties(pecunia PROPERTIES
COMPATIBLE_INTERFACE_STRING "0"
INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include;${_IMPORT_PREFIX}/COMPONENT;${_IMPORT_PREFIX}/Devel"
)
Neither the "{_IMPORT_PREFIX}/COMPONENT" nor "
{_IMPORT_PREFIX}/Devel" are valid directory paths for the library.
The workaround is simple, delete those two directories.
Edited by John Schneiderman