2010/8/6 Chris Wolf <[email protected]>:
>
> Unfortunately, at first, I din't see how your example is different from
> the parts of my CMakeList.txt I sent in my last post.
>
> Then I noticed that your "install(TARGETS..." command had a relative
> path for "DESTINATION", whereas mine had an absolute path.  When
> I changed to a relative path, it worked...

You should really avoid using absolute path destination for installation.

If you cannot avoid it then you should tell CPack to use DESTDIR
set(CPACK_SET_DESTDIR ON)

however this comes with some trouble too,
see:http://public.kitware.com/Bug/view.php?id=7000


-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org
_______________________________________________
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