Experimental ABI fix to deal with '__cxx11'

This commit is contained in:
Jonathan Thomas
2020-07-06 02:10:35 -05:00
parent d2dd3d3e3f
commit b7dd86e63a

View File

@@ -41,8 +41,8 @@ if (APPLE)
# If you still get errors compiling with GCC 4.8, mac headers need to be patched: http://hamelot.co.uk/programming/osx-gcc-dispatch_block_t-has-not-been-declared-invalid-typedef/
set_property(GLOBAL PROPERTY JUCE_MAC "JUCE_MAC")
add_definitions(-DNDEBUG)
add_definitions(-D_GLIBCXX_USE_CXX11_ABI=0)
set(EXTENSION "mm")
set(JUCE_PLATFORM_SPECIFIC_DIR build/macosx/platform_specific_code)
set(JUCE_PLATFORM_SPECIFIC_LIBRARIES "-framework Carbon -framework Cocoa -framework CoreFoundation -framework CoreAudio -framework CoreMidi -framework IOKit -framework AGL -framework AudioToolbox -framework QuartzCore -lobjc -framework Accelerate")
endif()