Restore missing variable 'target_filename_ext' needed to determine if RPATH fix is necessary or not (#5824)

Signed-off-by: Steve Pham <82231385+spham-amzn@users.noreply.github.com>
monroegm-disable-blank-issue-2
Steve Pham 4 years ago committed by GitHub
parent a0ab5920da
commit b3c0200345
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -10,6 +10,7 @@ cmake_policy(SET CMP0012 NEW) # new policy for the if that evaluates a boolean o
function(ly_copy source_file target_directory)
cmake_path(GET source_file FILENAME target_filename)
cmake_PATH(GET source_file EXTENSION target_filename_ext)
cmake_path(APPEND target_file "${target_directory}" "${target_filename}")
cmake_path(COMPARE "${source_file}" EQUAL "${target_file}" same_location)
if(NOT ${same_location})

Loading…
Cancel
Save