From db1302c90a4ba66aa201d1de0e68c92e0dc88a8b Mon Sep 17 00:00:00 2001 From: asb2m10 Date: Mon, 8 Jul 2024 00:47:52 -0400 Subject: [PATCH] Add x64 target for macOS release --- CMakeLists.txt | 6 +----- libs/JUCE | 2 +- libs/MTS-ESP | 2 +- libs/tuning-library | 2 +- libs/vst3sdk | 2 +- 5 files changed, 5 insertions(+), 9 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6a1afa71..fffabd1b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,9 +16,7 @@ else() set(CMAKE_OSX_DEPLOYMENT_TARGET "10.9" CACHE STRING "Minimum OS X deployment version" FORCE) endif() -option(UniversalBinary "Build universal binary for mac" OFF) - -if (UniversalBinary) +if (CMAKE_BUILD_TYPE EQUAL "Release") set(CMAKE_OSX_ARCHITECTURES "x86_64;arm64" CACHE INTERNAL "") endif() @@ -30,8 +28,6 @@ set(DEXED_JUCE_PATH "${CMAKE_SOURCE_DIR}/libs/JUCE" CACHE STRING "Path to JUCE l add_subdirectory(${DEXED_JUCE_PATH} ${CMAKE_BINARY_DIR}/JUCE EXCLUDE_FROM_ALL) add_subdirectory(libs/clap-juce-extensions EXCLUDE_FROM_ALL) - - #Adds all the module sources so they appear correctly in the IDE set_property(GLOBAL PROPERTY USE_FOLDERS YES) option(JUCE_ENABLE_MODULE_SOURCE_GROUPS "Enable Module Source Groups" ON) diff --git a/libs/JUCE b/libs/JUCE index ae514483..d054f0d1 160000 --- a/libs/JUCE +++ b/libs/JUCE @@ -1 +1 @@ -Subproject commit ae5144833e852815d61642af87c69b9db44984f7 +Subproject commit d054f0d14dcac387aebda44ce5d792b5e7a625b3 diff --git a/libs/MTS-ESP b/libs/MTS-ESP index 803c3aab..514ed958 160000 --- a/libs/MTS-ESP +++ b/libs/MTS-ESP @@ -1 +1 @@ -Subproject commit 803c3aab3d43dfaea430a1084ab31b606f5cd72c +Subproject commit 514ed958b38e5ab501999f902a2427ebe6232a78 diff --git a/libs/tuning-library b/libs/tuning-library index 3bbe9514..601c0eab 160000 --- a/libs/tuning-library +++ b/libs/tuning-library @@ -1 +1 @@ -Subproject commit 3bbe9514816e1ae674c207b09e9f20eea4df372a +Subproject commit 601c0eabff31fff8a543b49d3e48073f338f413c diff --git a/libs/vst3sdk b/libs/vst3sdk index 56e4b2a6..e9895dc9 160000 --- a/libs/vst3sdk +++ b/libs/vst3sdk @@ -1 +1 @@ -Subproject commit 56e4b2a644be164c5d324e8bc9de55b964b0f102 +Subproject commit e9895dc9ef20bedd93a0fde5ad664bc8b56d4338