set_property(DIRECTORY APPEND PROPERTY O3DE_SUBDIRECTORY_INSTALL_CODE [[
set(RECAST_GIT_REPO "https://github.com/recastnavigation/recastnavigation.git")
set(RECAST_GIT_TAG 5a870d4)
message(STATUS "RecastNavigation Gem uses ${RECAST_GIT_REPO} commit 5a870d4 (License: Zlib)")
set(recastLibraries DebugUtils;Detour;DetourCrowd;DetourTileCache;Recast)
foreach(recastLibrary ${recastLibraries})
add_library(RecastNavigation::${recastLibrary} STATIC IMPORTED GLOBAL)
set_target_properties(RecastNavigation::${recastLibrary}
PROPERTIES
IMPORTED_LOCATION
"${LY_ROOT_FOLDER}/lib/${CMAKE_STATIC_LIBRARY_PREFIX}${recastLibrary}${CMAKE_STATIC_LIBRARY_SUFFIX}")
target_compile_definitions(RecastNavigation::${recastLibrary}
INTERFACE
DT_POLYREF64)
ly_target_include_system_directories(TARGET RecastNavigation::${recastLibrary}
INTERFACE
"${LY_ROOT_FOLDER}/include/recastnavigation")
endforeach()
]]
)