[CMake] Buils executable vs Installed executable

Sergio Vera sergio.vera at alma3d.com
Thu Feb 12 12:40:14 EST 2015


Dear CMake users,

I'm developing an app using CMake in Fedora 20 and so far it's working
properly in the build directory.
However, I've recently added some Install target commands so I can prepare
it for packaging with CPack.
However, when I "make install" my app, the application no longer runs and
complains about missing shared libraries.

With ldd I can see that the binary in my build dir do references system
libraries and my 3rd party dependencies, which I have built with cmake too
(CTK and VTK)

However my Install folder binary does  not list any shared library to my
CTK or VTK libs.

I'm a bit puzzled by this behavior... Copying the build binary to the
install folder works, but still I would like to know what is missing here.


best regards and thanks in advance
-- 
Sergio Vera

 Alma IT Systems
 C/ Vilana, 4B, 4º 1ª
 08022 Barcelona
 T. (+34) 932 380 592
 www.alma3d.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20150212/e1427b1c/attachment.html>


More information about the CMake mailing list