hi all,

we're making a debian source package which requires the cmake command to be:

cmake -DCMAKE_INSTALL_PREFIX=/usr .

in order to get the individual component files installed we do:

cmake -DCOMPONENT=MYCOMP -DCMAKE_INSTALL_PREFIX=tempdir -P cmake_install.cmake
make install

although this installs all MYCOMP files in tempdir, it also installs
all files into /usr

How can we tell cmake to ignore installing into /usr? In order to get
the linking correct, we need to set /usr, but that doesn't have write
permissions, so things fail.

thank you,
rosen diankov,
_______________________________________________
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