diff --git a/cmake/release_crafter.cmake b/cmake/release_crafter.cmake index 2295cc7..f4f239c 100644 --- a/cmake/release_crafter.cmake +++ b/cmake/release_crafter.cmake @@ -27,13 +27,13 @@ if(ZIP_RELEASE) set(RELEASE_OS ${CMAKE_SYSTEM_NAME}) endif() - if(${CMAKE_OSX_ARCHITECTURES} STREQUAL "arm64") + if(CMAKE_OSX_ARCHITECTURES STREQUAL "arm64") set(RELEASE_ARCHITECTURE "arm64") - elseif(${CMAKE_OSX_ARCHITECTURES} STREQUAL "x86_64") + elseif(CMAKE_OSX_ARCHITECTURES STREQUAL "x86_64") set(RELEASE_ARCHITECTURE "x64") - elseif(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "AMD64") + elseif(CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64") set(RELEASE_ARCHITECTURE "x64") - elseif(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86_64") + elseif(CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") set(RELEASE_ARCHITECTURE "x64") else() set(RELEASE_ARCHITECTURE ${CMAKE_SYSTEM_PROCESSOR})