From e647ea66fe054d66621dfe5c758ba2b34e2ed3d6 Mon Sep 17 00:00:00 2001 From: Derek Bruening Date: Sat, 21 Mar 2020 17:16:02 -0400 Subject: [PATCH] DRi#4168: Disable annotation header install for non-x86 (#2287) Fixes a broken install step for ARM by disabling the annotation header install for non-x86. DR does not yet support annotations on ARM (DRi#1672). Issue: DynamoRIO/dynamorio#4168, DynamoRIO/dynamorio#1672 --- CMakeLists.txt | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1b8de6e73..99cefd2e4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2275,10 +2275,14 @@ endif (BUILDING_SUB_PACKAGE) # DRMF install rules install(FILES ${framework_incdir}/drmemory_framework.h - ${framework_incdir}/drmemory_annotations.h - ${framework_incdir}/dr_annotations.h - ${framework_incdir}/dr_annotations_asm.h DESTINATION ${DRMF_INSTALL_INC}) +if (DR_ANNOTATIONS_SUPPORTED) + install(FILES + ${framework_incdir}/drmemory_annotations.h + ${framework_incdir}/dr_annotations.h + ${framework_incdir}/dr_annotations_asm.h + DESTINATION ${DRMF_INSTALL_INC}) +endif () install(FILES ${framework_dir}/DrMemoryFrameworkConfigVersion.cmake ${framework_dir}/DrMemoryFrameworkConfig.cmake DESTINATION ${DRMF_INSTALL})