missed escaping these variables and breaks runtime dependencines in the install layout (#5149)

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
monroegm-disable-blank-issue-2
Esteban Papp 4 years ago committed by GitHub
parent 1ec34f6123
commit 8c0dbe4b33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -528,7 +528,7 @@ function(ly_setup_runtime_dependencies)
ly_install(CODE
"function(ly_copy source_file target_directory)
cmake_path(GET source_file FILENAME file_name)
if(NOT EXISTS ${target_directory}/${file_name})
if(NOT EXISTS \${target_directory}/\${file_name})
file(COPY \"\${source_file}\" DESTINATION \"\${target_directory}\" FILE_PERMISSIONS ${LY_COPY_PERMISSIONS})
endif()
endfunction()"

Loading…
Cancel
Save