From e3f681937fb181a7c00eda607a741598a10a2cc7 Mon Sep 17 00:00:00 2001 From: Luis Ibanez Date: Thu, 16 Jan 2003 13:24:49 -0500 Subject: [PATCH] ENH: Platform dependent libraries added for APPLE. --- Modules/FindFLTK.cmake | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Modules/FindFLTK.cmake b/Modules/FindFLTK.cmake index acad239c5..4fd5269a0 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)