[Bf-committers] Should CMAKE_INSTALL_PREFIX work?

Paul Melis paul.melis at sara.nl
Mon Apr 18 13:13:15 CEST 2011


On 04/18/2011 12:19 PM, Paul Melis wrote:
> I've been using an SVN checkout of the 2.5 branch and corresponding
> build directory for some time now, happily doing SVN update and make,
> make install to keep track of Blender progress. However, I just noticed
> "make install" no longer installs files in the correct location
> anymore.  Installation used to go to CMAKE_INSTALL_PREFIX, but now seems
> to end up in<build-dir>/bin/2.5x. Has the installation procedure
> changed at some point? Reading
> http://wiki.blender.org/index.php/Dev:2.5/Doc/Building_Blender/Linux/Ubuntu/CMake
> leads me to believe that filling in CMAKE_INSTALL_PREFIX should work,
> together with "make install". This is with cmake 2.8.1, Ubuntu 10.04.
> The last time installation worked correctly seems to be around February,
> 28th
Ah, found what was causing this (use WITH_INSTALL_PORTABLE=OFF to get 
back previous behaviour)

Paul

------------------------------------------------------------------------
r35370 | campbellbarton | 2011-03-06 12:41:30 +0100 (Sun, 06 Mar 2011) | 
6 lines
Changed paths:
    M /trunk/blender/CMakeLists.txt
    M /trunk/blender/source/creator/CMakeLists.txt

CMake: Linux/Unix Only,
use 'install' target rather then copying files with post-build commands.

Main change is that you need to run 'make install', which copies files 
to ./bin by default
unless WITH_INSTALL_PORTABLE is OFF, where CMAKE_INSTALL_PREFIX is used 
for a typical unix-system install.




More information about the Bf-committers mailing list