From: Thomas Jarosch Date: Mon, 17 Jun 2013 13:34:01 +0000 (+0200) Subject: Fix pkgconfig library dependency on boost iostreams library (newer binutils needs -l) X-Git-Tag: v2.6~14 X-Git-Url: http://developer.intra2net.com/git/?a=commitdiff_plain;h=e67fb24c1386d723925b2096d7d707651aa75413;p=libi2ncommon Fix pkgconfig library dependency on boost iostreams library (newer binutils needs -l) --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 37811d6..d591511 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -145,7 +145,7 @@ set(libdir ${CMAKE_INSTALL_PREFIX}/lib) # construct ${BOOST_LDADD} from ${Boost_LIBRARIES} string(REGEX REPLACE ";" " " BOOST_LDADD "${Boost_IOSTREAMS_LIBRARIES}") -set(BOOST_LDADD "${BOOST_LDADD}") +set(BOOST_LDADD "-l${BOOST_LDADD}") # construct ${BOOST_CFLAGS} from ${Boost_INCLUDE_DIRS} string(REGEX REPLACE ";" " -I" BOOST_CFLAGS "${Boost_INCLUDE_DIRS}")