I am building another program inside my cmake which usage autotools for
generating it's make file.

I want to run it's configure like ./configure
--prefix=${CMAKE_INSTALL_PREFIX}.
But when I am  changing the DESTDIR for my project. CMAKE_INSTALL_PREFIX is
not getting changed.
So everytime configure is running as
./configure --prefix=/usr/local
Is it a bug ?
or Should I use DESTDIR variable instead of using CMAKE_INSTALL_PREFIX
or Should I set -DCMAKE_INSTALL_PREFIX whenever I am changing DESTDIR.

What is the recommended way ?

regards
Vivek Goel
--

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