Don't install asan docs if disabled
Signed-off-by: Jeremy Newton <Jeremy.Newton@amd.com>
[ROCm/amdsmi commit: 529c6ee151]
This commit is contained in:
committed by
Arif, Maisam
parent
21f5755794
commit
7b9ef0e406
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user