install(EXPORT): incorrectly strips "." path component when computing _IMPORT_PREFIX
If passing a relative path as the DESTINATION
argument of a call to install(EXPORT)
that includes an identity path component .
, then the generated file includes an extra call of get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
to strip that component that actually computes an incorrect prefix.
Edited by Brad King