Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
FutureKosmos committed Jan 12, 2024
1 parent aa77ea4 commit 59d9715
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ if(WIN32)
)
if (CMAKE_HOST_SYSTEM_PROCESSOR MATCHES "AMD64" OR CMAKE_HOST_SYSTEM_PROCESSOR MATCHES "x86_64")
if (CMAKE_C_COMPILER_ID MATCHES "Clang")
list(APPEND SRCS src/platform/win/platform-ucontext-att.s)
list(APPEND SRCS src/platform/win/platform-ucontext-att.S)
endif()
if (CMAKE_C_COMPILER_ID MATCHES "MSVC")
list(APPEND SRCS src/platform/win/platform-ucontext-masm.asm)
Expand All @@ -130,7 +130,7 @@ if(UNIX)
)
if (CMAKE_HOST_SYSTEM_PROCESSOR MATCHES "AMD64" OR CMAKE_HOST_SYSTEM_PROCESSOR MATCHES "x86_64")
if (CMAKE_C_COMPILER_ID MATCHES "Clang" OR CMAKE_C_COMPILER_ID MATCHES "GNU")
list(APPEND SRCS src/platform/unix/platform-ucontext-att.s)
list(APPEND SRCS src/platform/unix/platform-ucontext-att.S)
endif()
else()
message(FATAL_ERROR "current architecture is ${CMAKE_HOST_SYSTEM_PROCESSOR}, now not support")
Expand Down

0 comments on commit 59d9715

Please sign in to comment.