Skip to content

Commit

Permalink
CMakeLists.txt: Support x86_64 ARCH
Browse files Browse the repository at this point in the history
Yocto/OpenEmbedded usses "x86_64" for the 64-bit x86 architecture, which
currently isn't supported by libspdm. As it's a common name for the
architecture let's add support for "x86_64" as the ARCH.

Signed-off-by: Alistair Francis <[email protected]>
  • Loading branch information
alistair23 committed Jan 29, 2025
1 parent 9cf032b commit 33dd78e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ message("CMAKE_GENERATOR = ${CMAKE_GENERATOR}")

if(ARCH STREQUAL "x64")
message("ARCH = x64")
elseif(ARCH STREQUAL "x86_64")
message("ARCH = x64")
elseif(ARCH STREQUAL "ia32")
message("ARCH = ia32")
elseif(ARCH STREQUAL "arm")
Expand Down

0 comments on commit 33dd78e

Please sign in to comment.