[Libstreams] 695554f Specify the full path in LIBSTREAMS_LIBRARIES.
Raphael Kubo da Costa
kubito at gmail.com
Sat Dec 25 05:40:59 CET 2010
commit 695554fbfcaeb0fbeb47a9196ced6cbd485b4433
branch master
Author: Raphael Kubo da Costa <kubito at gmail.com>
Date: Sat Dec 25 02:38:35 2010 -0200
Specify the full path in LIBSTREAMS_LIBRARIES.
libstreamsanalyzer's luceneindexer was not linking properly here
because libstreams.so's library was not being included in the linker
path.
Apparently, it is recommended [1] to have full paths specified for
libraries (find_library does that, for example), and at least Grantlee
also does this.
[1] http://www.mail-archive.com/cmake@cmake.org/msg27695.html
CCMAIL: kde-buildsystem at kde.org
diff --git a/LibStreamsConfig.cmake.in b/LibStreamsConfig.cmake.in
index 91bf427..6669b97 100644
--- a/LibStreamsConfig.cmake.in
+++ b/LibStreamsConfig.cmake.in
@@ -2,4 +2,4 @@ set(LIBSTREAMS_FOUND TRUE)
set(LIBSTREAMS_VERSION @LIBSTREAMS_VERSION@)
set(LIBSTREAMS_INCLUDE_DIRS @CMAKE_INSTALL_PREFIX@/include)
set(LIBSTREAMS_LIBRARY_DIRS @LIB_DESTINATION@)
-set(LIBSTREAMS_LIBRARIES streams)
+set(LIBSTREAMS_LIBRARIES "${LIBSTREAMS_LIBRARY_DIRS}/libstreams.so")
More information about the Kde-buildsystem
mailing list