From 0c274c55c577a5f469147f08b4313b0816bc25e2 Mon Sep 17 00:00:00 2001 From: EinTim Date: Wed, 6 Nov 2024 22:28:59 +0100 Subject: [PATCH] MACOS: fix set CMAKE_OSX_DEPLOYMENT_TARGET --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ef2b4da..20b5237 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,7 +7,7 @@ file(GLOB_RECURSE SOURCES "src/*.cpp") if(APPLE) list(APPEND SOURCES "src/backends/darwin.mm" ${CMAKE_SOURCE_DIR}/osx/icon.icns) set(CMAKE_OSX_ARCHITECTURES "arm64;x86_64" CACHE STRING "" FORCE) - set(CMAKE_OSX_DEPLOYMENT_TARGET "10.15") + set(CMAKE_OSX_DEPLOYMENT_TARGET "10.15" CACHE STRING "" FORCE) project ("PlayerLink" LANGUAGES C CXX OBJCXX) else() project ("PlayerLink" LANGUAGES C CXX) @@ -58,4 +58,4 @@ if(wx_setup_dir) else() message(FATAL_ERROR "wx/setup.h not found. Please check your wxWidgets build configuration.") endif() -target_link_libraries(PlayerLink PUBLIC ${LIBRARIES}) \ No newline at end of file +target_link_libraries(PlayerLink PUBLIC ${LIBRARIES})