Explorar o código

macOS only needs to link against CoreFoundation, not Carbon.

Ryan C. Gordon %!s(int64=8) %!d(string=hai) anos
pai
achega
3b5091ba9f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      CMakeLists.txt

+ 1 - 1
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.