diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt index 67f2771d99ba9..70bf244096b74 100644 --- a/cmake/CMakeLists.txt +++ b/cmake/CMakeLists.txt @@ -1168,7 +1168,7 @@ if (onnxruntime_USE_DNNL) endif() if (onnxruntime_USE_JBLAS) - if (onnxruntime_target_platform STREQUAL "x86" OR onnxruntime_target_platform STREQUAL "x86_64") + if (onnxruntime_target_platform STREQUAL "x64" OR onnxruntime_target_platform STREQUAL "x86_64") add_compile_definitions(MLAS_JBLAS) endif() endif()