Hi all,

I'm using cmake to build projects and packages for delivrable. I have two
projects that is not in the same build tree. Typically a project in a
directory Lib and another one in a separate directory Program.
I use the exported tragets from Lib in Program by include the exports file
generated by Lib project.
Now, I want to build a package with cpack inside my Program project. But
when I try to set the installation path of my imported targets in
Program/CMakeLists.txt I got this error :

install TARGETS which not exists in this directory

So, Is there any work around to package my code with all its imported
dependencies without copying every file one by one ?



Best regards,

Jaonary
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to