File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,9 @@ if (APPLE)
4545 set (EXTENSION "mm" )
4646 set (JUCE_PLATFORM_SPECIFIC_DIR build /macosx/platform_specific_code)
4747 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" )
48+
49+ # Prevent compiling with __cxx11
50+ add_definitions (-D_GLIBCXX_USE_CXX11_ABI=0)
4851endif ()
4952
5053################ IMAGE MAGICK ##################
Original file line number Diff line number Diff line change @@ -36,6 +36,11 @@ if(WIN32)
3636 set (CMAKE_CXX_FLAGS " ${CMAKE_CXX_FLAGS} -include cmath" )
3737endif ()
3838
39+ if (APPLE )
40+ # Prevent compiling with __cxx11
41+ add_definitions (-D_GLIBCXX_USE_CXX11_ABI=0)
42+ endif ()
43+
3944################### UNITTEST++ #####################
4045# Find UnitTest++ libraries (used for unit testing)
4146find_package (UnitTest++)
You can’t perform that action at this time.
0 commit comments