I am building another program inside my cmake which usage autotools for generating it's make file. <div><br>I want to run it's configure like ./configure --prefix=${CMAKE_INSTALL_PREFIX}. <br>But when I am changing the DESTDIR for my project. CMAKE_INSTALL_PREFIX is not getting changed. <br>
So everytime configure is running as </div><div>./configure --prefix=/usr/local<br>Is it a bug ?</div><div>or Should I use DESTDIR variable instead of using CMAKE_INSTALL_PREFIX <br>or Should I set -DCMAKE_INSTALL_PREFIX whenever I am changing DESTDIR. <br>
<br>What is the recommended way ? </div><div><br clear="all">regards<div>Vivek Goel</div><br>
</div>