kdebindings, generator, LD_LIBRARY_PATH

Yury G. Kudryashov urkud at ya.ru
Fri Oct 30 13:05:34 CET 2009


Hi!

The following lines in kdebindings/CMakeLists.txt do not solve the problem 
mentioned in comment:

if( UNIX )
   # Generator library is used during compilation. If some environment not
   # have previous kdebindings installed, will fail, then we need add local 
path
   set( ENV{LD_LIBRARY_PATH} ${CMAKE_CURRENT_BINARY_DIR}/generator/bin )
endif( UNIX )

It seems that the only way to invoke a program in modified environment with 
CMake is to create a wrapper script.
-- 
Yury G. Kudryashov,
mailto: urkud.urkud at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20091030/9a12404f/attachment.sig 


More information about the Kde-buildsystem mailing list