summaryrefslogtreecommitdiffstats
path: root/Modules/FindFLTK.cmake
diff options
context:
space:
mode:
authorLuis Ibanez <luis.ibanez@kitware.com>2003-01-16 18:24:49 (GMT)
committerLuis Ibanez <luis.ibanez@kitware.com>2003-01-16 18:24:49 (GMT)
commite3f681937fb181a7c00eda607a741598a10a2cc7 (patch)
treebb6c7723491ad31eabeefa1ea15dc524e7832d9f /Modules/FindFLTK.cmake
parent0488236e3af7e8119ceef9236041970721b7fe90 (diff)
downloadCMake-e3f681937fb181a7c00eda607a741598a10a2cc7.zip
CMake-e3f681937fb181a7c00eda607a741598a10a2cc7.tar.gz
CMake-e3f681937fb181a7c00eda607a741598a10a2cc7.tar.bz2
ENH: Platform dependent libraries added for APPLE.
Diffstat (limited to 'Modules/FindFLTK.cmake')
-rw-r--r--Modules/FindFLTK.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/FindFLTK.cmake b/Modules/FindFLTK.cmake
index acad239..4fd5269 100644
--- a/Modules/FindFLTK.cmake
+++ b/Modules/FindFLTK.cmake
@@ -49,6 +49,10 @@ IF(UNIX)
SET( FLTK_PLATFORM_DEPENDENT_LIBS ${CMAKE_X_LIBS} -lm)
ENDIF(UNIX)
+IF(APPLE)
+ SET( FLTK_PLATFORM_DEPENDENT_LIBS -framework Carbon -framework Cocoa -framework ApplicationServices -lz )
+ENDIF(APPLE)
+
# Make sure that the FLTK include path has been set
# So the FLTK_LIBRARY does not appear the first time
IF(FLTK_INCLUDE_DIR)