OSX: fix linking with new boost_locale
authorJens Verwiebe <info@jensverwiebe.de>
Sun, 11 Nov 2012 20:41:28 +0000 (20:41 +0000)
committerJens Verwiebe <info@jensverwiebe.de>
Sun, 11 Nov 2012 20:41:28 +0000 (20:41 +0000)
CMakeLists.txt

index aa36995..d5c1b5c 100644 (file)
@@ -1547,6 +1547,7 @@ elseif(APPLE)
                set(BOOST_LIBRARIES boost_date_time-mt boost_filesystem-mt boost_regex-mt boost_system-mt boost_thread-mt)
                if (WITH_INTERNATIONAL)
                        list(APPEND BOOST_LIBRARIES boost_locale-mt)
+                       set(PLATFORM_LINKFLAGS "${PLATFORM_LINKFLAGS} -liconv") # boost_locale needs it !
                endif()
                set(BOOST_LIBPATH ${BOOST}/lib)
                set(BOOST_DEFINITIONS)