Skip to content

Commit

Permalink
minor fix for macos
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesneimog committed Aug 3, 2024
1 parent b60dbab commit 6560825
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pd.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ macro(pd_set_lib_ext OBJ_TARGET_NAME)
endif()

if(APPLE)
if(CMAKE_OSX_ARCHITECTURES MATCHES "arm64")
if(CMAKE_SYSTEM_PROCESSOR MATCHES "arm64")
set(PD_EXTENSION ".darwin-arm64-${PD_FLOATSIZE}.so")
else()
set(PD_EXTENSION ".darwin-amd64-${PD_FLOATSIZE}.so")
Expand Down

0 comments on commit 6560825

Please sign in to comment.