Re: [CMake] CMAKE_INSTALL_PREFIX not being used?

2015-05-05 Thread Tom Davis
I now believe this is related to a thread back in December: http://public.kitware.com/pipermail/cmake/2014-December/059298.html It's super easy to reproduce: make a CMakeLists.txt file with set(CMAKE_INSTALL_PREFIX "foo") and watch it get written to cmake_install.cmake regardless of any command-l

[CMake] CMAKE_INSTALL_PREFIX not being used?

2015-04-30 Thread Tom Davis
I'm trying to install a project to /home/tom/usr/local instead of the standard /usr/local. I have tried the following: $ mkdir build && cd build $ cmake -DCMAKE_INSTALL_PREFIX:PATH=/home/tom .. At this point, I have a CMakeCache.txt file that contains the correct path. I have a cmake_install.cmak