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

This commit is contained in:
Bill Hoffman 2006-04-14 08:44:14 -04:00
parent 1871a74153
commit 0adee1e6dd
1 changed files with 1 additions and 2 deletions

View File

@ -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.