From 7dca7c1258097a6d3b2cfdab88dbab0245ef7bfc Mon Sep 17 00:00:00 2001 From: guigues Date: Tue, 24 Feb 2009 20:41:20 +0000 Subject: [PATCH] set up the right boost libraries for OSX --- cmake/CREAMacro_FindAndUseLibraries.cmake | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/cmake/CREAMacro_FindAndUseLibraries.cmake b/cmake/CREAMacro_FindAndUseLibraries.cmake index 77273c2..6ba64be 100644 --- a/cmake/CREAMacro_FindAndUseLibraries.cmake +++ b/cmake/CREAMacro_FindAndUseLibraries.cmake @@ -262,10 +262,20 @@ IF(USE_BOOST) LINK_DIRECTORIES( ${Boost_LIBRARY_DIRS} ) CREA_DEFINE( USE_BOOST ) IF(NOT WIN32) - SET(BOOST_LIBRARIES - boost_signals - boost_filesystem - ) + IF(NOT APPLE) + SET(BOOST_LIBRARIES + boost_signals + boost_filesystem + boost_date_time + ) + ELSE(NOT APPLE) + SET(BOOST_LIBRARIES + boost_signals-mt + boost_filesystem-mt + boost_date_time-mt + boost_system-mt + ) + ENDIF(NOT APPLE) ENDIF(NOT WIN32) MARK_AS_ADVANCED(Boost_INCLUDE_DIR) ELSE(Boost_FOUND) -- 2.45.1