From 0bebb3e1839118e7b8cae5b91d497e3ae2a62148 Mon Sep 17 00:00:00 2001 From: Nguyen Anh Quynh Date: Tue, 17 Nov 2020 15:13:16 +0800 Subject: [PATCH] cmake: enable UNICORN_HAS_ARMEB when ARM is on --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 696d070f..c2b4da15 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -889,7 +889,7 @@ if (UNICORN_HAS_X86) set(UNICORN_SAMPLE_FILE ${UNICORN_SAMPLE_FILE} sample_x86 sample_x86_32_gdt_and_seg_regs sample_batch_reg mem_apis shellcode) endif() if (UNICORN_HAS_ARM) - set(UNICORN_COMPILE_OPTIONS ${UNICORN_COMPILE_OPTIONS} -DUNICORN_HAS_ARM) + set(UNICORN_COMPILE_OPTIONS ${UNICORN_COMPILE_OPTIONS} -DUNICORN_HAS_ARM -DUNICORN_HAS_ARMEB) set(UNICORN_LINK_LIBRARIES ${UNICORN_LINK_LIBRARIES} arm-softmmu armeb-softmmu) set(UNICORN_SAMPLE_FILE ${UNICORN_SAMPLE_FILE} sample_arm sample_armeb) endif()