From: Thomas Jarosch Date: Fri, 13 May 2011 13:23:11 +0000 (+0200) Subject: Don't pass the full library path with -l X-Git-Tag: v2.6~66 X-Git-Url: http://developer.intra2net.com/git/?a=commitdiff_plain;h=fa9d540df344b7f265eb98eaca9b57468480fd6e;p=libi2ncommon Don't pass the full library path with -l --- diff --git a/CMakeLists.txt b/CMakeLists.txt index bcf303e..54c08c0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -135,7 +135,7 @@ set(includedir ${CMAKE_INSTALL_PREFIX}/include) set(libdir ${CMAKE_INSTALL_PREFIX}/lib) # construct ${BOOST_LDADD} from ${Boost_LIBRARIES} -string(REGEX REPLACE ";" " -l" BOOST_LDADD "${Boost_IOSTREAMS_LIBRARIES}") +string(REGEX REPLACE ";" " " BOOST_LDADD "${Boost_IOSTREAMS_LIBRARIES}") set(BOOST_LDADD "-l${BOOST_LDADD}") # construct ${BOOST_CFLAGS} from ${Boost_INCLUDE_DIRS}