c0d9db6739
* Updates the install of SDK includes Needs some fixes so that public include paths that were going up directories or had multiple path components would resolve to correct destination paths during install. * Updates the logic to fix AutoGen includes AutoGen headers were a special case because matching relative paths failed due to the headers existing under the build path. * Removes trailling slashes from inc dirs This addresses a quirk in CMake where installing a directory with a trailing slash has different behavior than one without. The include paths being processed had a wide mix of slash or not. * Update cmake/Platform/Common/Install_common.cmake Co-authored-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com> * Fixes fatal errors in the last change The call to cmake_path IS_PREFIX was ill-formed. Also the trailing directory separator was being removed from the DESTINATION but really needed to be removed from the DIRECTORY. Co-authored-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>