diff --git a/tutorials/common/imgui/CMakeLists.txt b/tutorials/common/imgui/CMakeLists.txt index 7a274fb8f7..421737b231 100644 --- a/tutorials/common/imgui/CMakeLists.txt +++ b/tutorials/common/imgui/CMakeLists.txt @@ -15,6 +15,6 @@ TARGET_LINK_LIBRARIES(imgui glfw) SET_PROPERTY(TARGET imgui PROPERTY FOLDER tutorials/common) SET_PROPERTY(TARGET imgui APPEND PROPERTY COMPILE_FLAGS " ${FLAGS_LOWEST}") -if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin" OR ${CMAKE_SYSTEM_PROCESSOR} STREQUAL "aarch64") +if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin" OR ${CMAKE_SYSTEM_PROCESSOR} MATCHES "arm64|aarch64") TARGET_COMPILE_DEFINITIONS(imgui PUBLIC IMGUI_DISABLE_SSE) endif()