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

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
Esteban Papp
2021-10-30 12:39:40 -07:00
committed by GitHub
parent 1ec34f6123
commit 8c0dbe4b33
+1 -1
View File
@@ -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()"