summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-04-14 08:44:14 -0400
committerBill Hoffman <bill.hoffman@kitware.com>2006-04-14 08:44:14 -0400
commit0adee1e6dd4f62bd64ff939f51ac75a07ac9c728 (patch)
treea46f428dba0611668a0fb834a4b981fe4a136ffd
parent1871a74153c5a8ff7fdb10ddb8438b14ae4aee0a (diff)
downloadcmake-0adee1e6dd4f62bd64ff939f51ac75a07ac9c728.tar.gz
ENH: make sure cmake can be built with an older version of cmake
-rw-r--r--Source/CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt
index ee346a3c06..a72573b1e4 100644
--- a/Source/CMakeLists.txt
+++ b/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.