1
0
Эх сурвалжийг харах

ENH: make sure cmake can be built with an older version of cmake

Bill Hoffman 19 жил өмнө
parent
commit
0adee1e6dd
1 өөрчлөгдсөн 1 нэмэгдсэн , 2 устгасан
  1. 1 2
      Source/CMakeLists.txt

+ 1 - 2
Source/CMakeLists.txt

@@ -222,8 +222,7 @@ ENDIF(UNIX)
 
 # On Apple we need Carbon
 IF(APPLE)
-  FIND_LIBRARY(CARBON Carbon)
-  TARGET_LINK_LIBRARIES(CMakeLib ${CARBON})
+  TARGET_LINK_LIBRARIES(CMakeLib -framework Carbon)
 ENDIF(APPLE)
 
 # On some platforms we need the rpcrt4 library for the VS 7 generators.