From 3b5091ba9f23baa128fbc1034a88eb59721e5482 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Tue, 11 Jul 2017 00:39:18 -0400 Subject: [PATCH] macOS only needs to link against CoreFoundation, not Carbon. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d00ff96..38e9e6c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -49,7 +49,7 @@ if(MACOSX) # Need these everywhere... add_definitions(-fno-common) - set(OTHER_LDFLAGS ${OTHER_LDFLAGS} "-framework Carbon -framework IOKit") + set(OTHER_LDFLAGS ${OTHER_LDFLAGS} "-framework CoreFoundation -framework IOKit") endif() # Add some gcc-specific command lines.