From f389666ea6eb653f040094ef9c7ee05479e23671 Mon Sep 17 00:00:00 2001 From: lazymio Date: Thu, 28 Dec 2023 22:05:44 +0800 Subject: [PATCH] Fix typo --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5d406dc9..055d4f5a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -191,7 +191,7 @@ else() string(FIND "${UC_COMPILER_MACRO}" "__arm__" UC_RET) if(${UC_RET} GREATER_EQUAL "0") set(UNICORN_TARGET_ARCH "arm") - set(UNICORN_CFLAGS "${UNICORN_CFLAGS} -latomic") + set(UNICORN_CFLAGS ${UNICORN_CFLAGS} -latomic) break() endif() string(FIND "${UC_COMPILER_MACRO}" "__aarch64__" UC_RET) @@ -222,7 +222,7 @@ else() string(FIND "${UC_COMPILER_MACRO}" "__riscv" UC_RET) if(${UC_RET} GREATER_EQUAL "0") set(UNICORN_TARGET_ARCH "riscv") - set(UNICORN_CFLAGS "${UNICORN_CFLAGS} -latomic") + set(UNICORN_CFLAGS ${UNICORN_CFLAGS} -latomic) break() endif() string(FIND "${UC_COMPILER_MACRO}" "__s390__" UC_RET)