git://developer.intra2net.com
/
libi2ncommon
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
57cee5f
)
Don't pass the full library path with -l
author
Thomas Jarosch
<thomas.jarosch@intra2net.com>
Fri, 13 May 2011 13:23:11 +0000 (15:23 +0200)
committer
Thomas Jarosch
<thomas.jarosch@intra2net.com>
Fri, 13 May 2011 13:23:11 +0000 (15:23 +0200)
CMakeLists.txt
patch
|
blob
|
blame
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
bcf303e
..
54c08c0
100644
(file)
--- 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}