Skip to content

Commit ff44d01

Browse files
committed
Change OSX deployment target to 10.15
Allows using std::filesystem and other C++17 features
1 parent 70bbc70 commit ff44d01

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ foreach(_v ${VERSION_LIST})
1212
endforeach()
1313
string(REPLACE "." "," GUI_VERSION_COMMA ${GUI_VERSION})
1414

15-
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.9" CACHE STRING "Minimum OS X deployment version")
15+
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.15" CACHE STRING "Minimum OS X deployment version" FORCE)
1616
set(CMAKE_OSX_ARCHITECTURES "x86_64" CACHE STRING "Build architecture for Mac OS X" FORCE)
1717
set(CMAKE_OSX_SYSROOT "")
1818
if ((NOT ${CMAKE_CURRENT_BINARY_DIR} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/Build ) AND (NOT OE_DONT_CHECK_BUILD_PATH))

JuceLibraryCode/modules/juce_audio_utils/native/juce_mac_BluetoothMidiDevicePairingDialogue.mm

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,13 +161,15 @@ static void receivedWindowWillClose (id self, SEL, NSNotification*)
161161
bool BluetoothMidiDevicePairingDialogue::open (ModalComponentManager::Callback* exitCallback,
162162
Rectangle<int>* bounds)
163163
{
164-
new BluetoothMidiSelectorWindowHelper (exitCallback, bounds);
165-
return true;
164+
// new BluetoothMidiSelectorWindowHelper (exitCallback, bounds);
165+
std::unique_ptr<ModalComponentManager::Callback> cb (exitCallback);
166+
jassertfalse;
167+
return false;
166168
}
167169

168170
bool BluetoothMidiDevicePairingDialogue::isAvailable()
169171
{
170-
return true;
172+
return false;
171173
}
172174

173175
#else

0 commit comments

Comments
 (0)