diff --git a/cmake/Platform/Common/Install_common.cmake b/cmake/Platform/Common/Install_common.cmake index 0356a0dcf4..82238170f7 100644 --- a/cmake/Platform/Common/Install_common.cmake +++ b/cmake/Platform/Common/Install_common.cmake @@ -333,7 +333,7 @@ function(ly_setup_others) GLOB_RECURSE gems_assets_path LIST_DIRECTORIES TRUE - RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}/" + RELATIVE "${CMAKE_SOURCE_DIR}/" "Gems/*" ) list(FILTER gems_assets_path INCLUDE REGEX "/Assets$")