-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Robert Osfield wrote:
> Hi Guys,
>
> I'd like to wrap up this thread with some concrete actions.
>
> Second, our make install isn't suggest anything about the need to add
> the installed library directory to LD_LIBRARY (and other platform
> specific env vars) or ld.so.conf which could do with addressing. I'm
> now cmake expert so could someone with better cmake skills than I step
> in and have a look at this.
You can do something like this:
ADD_CUSTOM_TARGET(ldlibpath_warning ALL DEPENDS tracker COMMENT "Do not
forget to add ${CMAKE_INSTALL_PREFIX}/lib to LD_LIBRARY_PATH environment
variable")
Of course, replace the target "tracker" with target that gets built
last, e.g. install. It will print the message specified after COMMENT.
However, I am cmake rookie at best, so feel free to improve it :)
Regards,
Jan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mandriva - http://enigmail.mozdev.org
iD8DBQFJf0Nhn11XseNj94gRAnlnAKCcdNwWPmkt4LwucrsYbpg6DFun2wCg5wlu
m5OhmSRThQl9dVeOYyr7xd8=
=rfUZ
-----END PGP SIGNATURE-----
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org