From fc935cc2f47e4d616fa1ed29374e6c882ae2aa38 Mon Sep 17 00:00:00 2001 From: Marcel Loose <loose@astron.nl> Date: Fri, 3 Dec 2010 10:41:37 +0000 Subject: [PATCH] Bug 1310: After some discussion it was decided to change the default install path once more, to ${CMAKE_BINARY_DIR}/installed. People like to be able to locally install different versions without the hassle of setting CMAKE_INSTALL_PREFIX explicitly. --- CMake/LofarInit.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMake/LofarInit.cmake b/CMake/LofarInit.cmake index 8197669f625..06482506e32 100644 --- a/CMake/LofarInit.cmake +++ b/CMake/LofarInit.cmake @@ -85,7 +85,8 @@ if(NOT DEFINED LOFAR_INIT_INCLUDED) get_filename_component(_cmpvar ${CMAKE_BINARY_DIR} NAME) # Set the default install path prefix. - set(CMAKE_INSTALL_PREFIX "/opt/lofar" CACHE PATH "Install path prefix") + set(CMAKE_INSTALL_PREFIX "${CMAKE_BINARY_DIR}/installed" CACHE PATH + "Install path prefix") # Split directory name in compiler suite part and build variant part. string(TOUPPER ${_cmpvar} _cmpvar) -- GitLab