summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
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.