summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-04-14 12:44:14 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-04-14 12:44:14 (GMT)
commit0adee1e6dd4f62bd64ff939f51ac75a07ac9c728 (patch)
treea46f428dba0611668a0fb834a4b981fe4a136ffd /Source
parent1871a74153c5a8ff7fdb10ddb8438b14ae4aee0a (diff)
downloadCMake-0adee1e6dd4f62bd64ff939f51ac75a07ac9c728.zip
CMake-0adee1e6dd4f62bd64ff939f51ac75a07ac9c728.tar.gz
CMake-0adee1e6dd4f62bd64ff939f51ac75a07ac9c728.tar.bz2
ENH: make sure cmake can be built with an older version of cmake
Diffstat (limited to 'Source')
-rw-r--r--Source/CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt
index ee346a3..a72573b 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.