Skip to content

Commit 5f0c665

Browse files
alistair23jyao1
authored andcommitted
CMakeLists.txt: Support x86_64 ARCH
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 <alistair.francis@wdc.com>
1 parent fa7fbbd commit 5f0c665

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎CMakeLists.txt‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ message("CMAKE_GENERATOR = ${CMAKE_GENERATOR}")
4949

5050
if(ARCH STREQUAL "x64")
5151
message("ARCH = x64")
52+
elseif(ARCH STREQUAL "x86_64")
53+
message("ARCH = x64")
5254
elseif(ARCH STREQUAL "ia32")
5355
message("ARCH = ia32")
5456
elseif(ARCH STREQUAL "arm")

0 commit comments

Comments
 (0)