message: Add ARM support for ISPCRT ispc_compile CMake macro
diff: @@ -107,7 +107,15 @@ macro (ispc_compile)
  set(ISPC_TARGET_EXT ${CMAKE_CXX_OUTPUT_EXTENSION})
  string(REPLACE ";" "," ISPC_TARGET_ARGS "${ISPC_TARGETS}")
  + if (CMAKE_SIZEOF_VOID_P EQUAL 8)
  + if (${CMAKE_SYSTEM_PROCESSOR} MATCHES "arm64|aarch64")
  + set(ISPC_ARCHITECTURE "aarch64")
  + else()
  set(ISPC_ARCHITECTURE "x86-64")
  + endif()
  + else()
  + set(ISPC_ARCHITECTURE "x86")
  + endif()
  set(ISPC_TARGET_DIR ${CMAKE_CURRENT_BINARY_DIR})
  include_directories(${ISPC_TARGET_DIR})
  