From f28a4a0a61297b46463e3a0faa91d56d50965393 Mon Sep 17 00:00:00 2001 From: Moresteck Date: Sat, 13 Apr 2024 17:31:57 +0200 Subject: [PATCH] Fixed Apple Silicon build --- src/core/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index afa9dc9..0b430e6 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt @@ -12,7 +12,7 @@ elseif (APPLE) set(CMAKE_APPLE_SILICON_PROCESSOR "arm64") if(CMAKE_APPLE_SILICON_PROCESSOR STREQUAL "arm64") - target_link_libraries(Core PUBLIC ${CMAKE_SOURCE_DIR}/lib/discord_game_sdk/x86_64/discord_game_sdk.dylib) + target_link_libraries(Core PUBLIC ${CMAKE_SOURCE_DIR}/lib/discord_game_sdk/aarch64/discord_game_sdk.dylib) elseif(CMAKE_APPLE_SILICON_PROCESSOR STREQUAL "x86_64") target_link_libraries(Core PUBLIC ${CMAKE_SOURCE_DIR}/lib/discord_game_sdk/x86_64/discord_game_sdk.dylib) endif()