diff --git a/CMakeLists.txt b/CMakeLists.txt index 1e13aef68b..d9f5471033 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -102,6 +102,7 @@ endif() if (APPLE) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -x objective-c++") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -x objective-c") + set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -x none") FIND_LIBRARY(ATB_LIBRARY AudioToolbox) FIND_LIBRARY(AU_LIBRARY AudioUnit) FIND_LIBRARY(CARBON_LIBRARY Carbon)