Add AMD64 to CMakeLists

This commit is contained in:
Yu, Zijun 2025-06-16 13:19:51 +08:00 committed by Mustafa Cavus
parent 592d7f8bbb
commit e27738a987
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ target_link_libraries(ggml-openvino PRIVATE openvino::runtime)
if (GGML_OPENVINO)
if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64")
elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" OR CMAKE_SYSTEM_PROCESSOR STREQUAL "amd64")
elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" OR CMAKE_SYSTEM_PROCESSOR STREQUAL "amd64" OR CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64")
else()
message(FATAL_ERROR "OpenVINO: OpenVINO toolkit supports x86-64 and arm64 but not ${CMAKE_SYSTEM_PROCESSOR}")
endif()