From c53df545aed36e589176c6fb79bfd487489a897f Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Wed, 6 May 2009 20:09:44 -0700 Subject: [PATCH] don't coerce the installer to use /usr when cmaking. --- INSTALL | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/INSTALL b/INSTALL index 96f82cefc..a3c91bc6b 100644 --- a/INSTALL +++ b/INSTALL @@ -5,11 +5,10 @@ then run mkdir build cd build -cmake ../ -DCMAKE_INSTALL_PREFIX=/usr +cmake ../ make sudo make install - This way an out-of-tree build is performed. You can also run "cmake ." directly in the root of source-tree although this is not recommended. When performing an out-of-tree build after there's already an in-tree build, make sure to run @@ -23,6 +22,9 @@ that are going to be built into LMMS or built as plugins. Install the according libraries and development files if a certain feature is not enabled. Then remove CMakeCache.txt and run cmake again. -If you're on linux and want to build for win32, the command is +If you want to supply an install prefix to cmake, add the flag: + +-DCMAKE_INSTALL_PREFIX= + +Where can be /usr, /usr/local, /opt, etc. The default is /usr/local. -cmake . -DCMAKE_TOOLCHAIN_FILE=cmake/modules/Win32Toolchain.cmake