diff options
author | Luis Ibanez <luis.ibanez@kitware.com> | 2003-01-16 13:24:49 -0500 |
---|---|---|
committer | Luis Ibanez <luis.ibanez@kitware.com> | 2003-01-16 13:24:49 -0500 |
commit | e3f681937fb181a7c00eda607a741598a10a2cc7 (patch) | |
tree | bb6c7723491ad31eabeefa1ea15dc524e7832d9f /Modules/FindFLTK.cmake | |
parent | 0488236e3af7e8119ceef9236041970721b7fe90 (diff) | |
download | cmake-e3f681937fb181a7c00eda607a741598a10a2cc7.tar.gz |
ENH: Platform dependent libraries added for APPLE.
Diffstat (limited to 'Modules/FindFLTK.cmake')
-rw-r--r-- | Modules/FindFLTK.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/FindFLTK.cmake b/Modules/FindFLTK.cmake index acad239c55..4fd5269a07 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) |