Skip to content

Commit 8ee9f35

Browse files
teo-tsirpanisgithub-actions
authored andcommitted
Fix release artifact names when cross-compiling to x64 macOS.
1 parent 9fc5c32 commit 8ee9f35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/package.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ endif()
2424
# Properly set system name and architecture
2525
if(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
2626
set(CPACK_SYSTEM_NAME "MacOS")
27-
if(CMAKE_OSX_ARCHITECTURES STREQUAL "arm64")
27+
if(CMAKE_OSX_ARCHITECTURES)
2828
set(CPACK_SYSTEM_PROCESSOR ${CMAKE_OSX_ARCHITECTURES})
2929
else()
3030
set(CPACK_SYSTEM_PROCESSOR ${CMAKE_SYSTEM_PROCESSOR})

0 commit comments

Comments
 (0)