summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorluwenpeng <[email protected]>2024-11-12 09:26:28 +0800
committerluwenpeng <[email protected]>2024-11-12 16:58:19 +0800
commit1372b3999443463bbb8f719f4728a6d0f8105dfe (patch)
treee86a8bc48036bb7710104b856b6f6a30aa0b94be /test
parent6aa82aeea6bdf4ded2f2523868199d7da3131dd5 (diff)
TSG-23336 SCE适配AArch64架构v1.4.0-20241112
Diffstat (limited to 'test')
-rw-r--r--test/CMakeLists.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index c9105b8..5398670 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -3,7 +3,12 @@
###############################################################################
add_library(gmock_marsio gmock_marsio.cpp)
-target_include_directories(gmock_marsio PUBLIC /opt/tsg/mrzcpd/corei7/include)
+
+if (CMAKE_SYSTEM_PROCESSOR MATCHES "x86_64")
+ target_include_directories(gmock_marsio PUBLIC /opt/tsg/mrzcpd/corei7/include)
+elseif (CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64")
+ target_include_directories(gmock_marsio PUBLIC /opt/tsg/mrzcpd/aarch64/include)
+endif()
###############################################################################
# temp_platform