Don't install asan docs if disabled

Signed-off-by: Jeremy Newton <Jeremy.Newton@amd.com>


[ROCm/amdsmi commit: 529c6ee151]
Bu işleme şunda yer alıyor:
Jeremy Newton
2025-06-18 15:33:47 -04:00
işlemeyi yapan: Arif, Maisam
ebeveyn 21f5755794
işleme 7b9ef0e406
+2
Dosyayı Görüntüle
@@ -269,12 +269,14 @@ install(
COMPONENT dev)
set(CPACK_RPM_PACKAGE_LICENSE "MIT")
if(ENABLE_ASAN_PACKAGING)
# install license file in share/doc/amd_smi-asan folder
install(
FILES ${CPACK_RESOURCE_FILE_LICENSE}
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/doc/${AMD_SMI}-asan
RENAME LICENSE.txt
COMPONENT asan)
endif()
# docs are installed into different share directory from tests and examples
install(
FILES ${CPACK_RESOURCE_FILE_LICENSE}