Skip to content

Commit

Permalink
DRi#4168: Disable annotation header install for non-x86 (#2287)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
derekbruening authored Mar 21, 2020
1 parent c0771e5 commit e647ea6
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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})
Expand Down

0 comments on commit e647ea6

Please sign in to comment.