From a74da5ea54339185b47fee5d3ebc6b172fa8b241 Mon Sep 17 00:00:00 2001 From: Logan McNaughton <848146+loganmc10@users.noreply.github.com> Date: Wed, 28 Dec 2022 14:29:53 -0700 Subject: [PATCH] update core --- mupen64plus-core/CMakeLists.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/mupen64plus-core/CMakeLists.txt b/mupen64plus-core/CMakeLists.txt index 7cd72f1..b226df9 100644 --- a/mupen64plus-core/CMakeLists.txt +++ b/mupen64plus-core/CMakeLists.txt @@ -1,4 +1,5 @@ -cmake_minimum_required(VERSION 3.20) +cmake_minimum_required(VERSION 3.24) +set(CMAKE_OSX_DEPLOYMENT_TARGET "11.0") project(mupen64plus LANGUAGES C) @@ -128,6 +129,9 @@ set_property(TARGET mupen64plus PROPERTY C_VISIBILITY_PRESET hidden) set_property(TARGET mupen64plus PROPERTY CXX_VISIBILITY_PRESET hidden) set_property(TARGET mupen64plus PROPERTY VISIBILITY_INLINES_HIDDEN ON) target_compile_options(mupen64plus PRIVATE -march=x86-64-v3 -Ofast) -target_link_options(mupen64plus PRIVATE -march=x86-64-v3 -Ofast -Wl,-Bsymbolic -Wl,-Bsymbolic-functions) +target_link_options(mupen64plus PRIVATE -march=x86-64-v3 -Ofast) +if (NOT APPLE) + target_link_options(mupen64plus PRIVATE -Wl,-Bsymbolic -Wl,-Bsymbolic-functions) +endif (NOT APPLE) target_link_directories(mupen64plus PRIVATE ${SDL_NET_LIBRARY_DIRS}) target_link_libraries(mupen64plus PRIVATE SDL2::SDL2 ${SDL_NET_LIBRARIES} ZLIB::ZLIB PNG::PNG)