Skip to content

Commit 743b59e

Browse files
authored
Debug CMakeLists.txt
1 parent 594cf70 commit 743b59e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -498,11 +498,11 @@ if(MSVC)
498498
set(MSVC_EXPORTLIST ${MSVC_EXPORTLIST} ??3@YAXPAX0@Z ??_V@YAXPAX0@Z)
499499
endif()
500500
include(CheckCXXSymbolExists)
501-
check_symbol_exists(__aarch64__ "" IS_ARM64)
501+
check_symbol_exists(__aarch64__ "" IS_AARCH64)
502+
heck_symbol_exists(__aarch__ "" IS_AARCH)
503+
check_symbol_exists(__arm__ "" IS_ARM64)
502504

503-
if(IS_ARM64)
504-
message(STATUS "Compile-time check: Detected ARM64 (__aarch64__)")
505-
endif()
505+
message(STATUS "${IS_AARCH64} ${IS_AARCH} ${IS_ARM64}")
506506
if(MSVC_VERSION GREATER_EQUAL 1936 AND NOT (CMAKE_SYSTEM_PROCESSOR MATCHES "ARM" OR CMAKE_SYSTEM_PROCESSOR MATCHES "AARCH64"))
507507
set(MSVC_EXPORTLIST ${MSVC_EXPORTLIST}
508508
__std_find_trivial_1

0 commit comments

Comments
 (0)