Ver Fonte

macOS only needs to link against CoreFoundation, not Carbon.

Ryan C. Gordon há 8 anos atrás
pai
commit
3b5091ba9f
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      CMakeLists.txt

+ 1 - 1
CMakeLists.txt

@@ -49,7 +49,7 @@ if(MACOSX)
 
 
     # Need these everywhere...
     # Need these everywhere...
     add_definitions(-fno-common)
     add_definitions(-fno-common)
-    set(OTHER_LDFLAGS ${OTHER_LDFLAGS} "-framework Carbon -framework IOKit")
+    set(OTHER_LDFLAGS ${OTHER_LDFLAGS} "-framework CoreFoundation -framework IOKit")
 endif()
 endif()
 
 
 # Add some gcc-specific command lines.
 # Add some gcc-specific command lines.