From 3a0e29dab9c416e336bc8102cf06c1f3d09958de Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Wed, 8 Mar 2017 14:55:40 +0200 Subject: [PATCH] Added missing linker options for native MIDI support on macOS Continuous integration is a cool thing: I completely forgot about addition of these frameworks because of my build environment which relies on static libraries and custom command line options --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index f2b160fd1d..ee16bbe0ca 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1319,7 +1319,7 @@ endif() if( APPLE ) set_target_properties(zdoom PROPERTIES - LINK_FLAGS "-framework Carbon -framework Cocoa -framework IOKit -framework OpenGL" + LINK_FLAGS "-framework AudioToolbox -framework AudioUnit -framework Carbon -framework Cocoa -framework IOKit -framework OpenGL" MACOSX_BUNDLE_INFO_PLIST "${CMAKE_CURRENT_SOURCE_DIR}/posix/osx/zdoom-info.plist" ) if( NOT NO_FMOD )