Skip to content
Snippets Groups Projects
Commit fc935cc2 authored by Marcel Loose's avatar Marcel Loose :sunglasses:
Browse files

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.
parent f52a0c73
No related branches found
No related tags found
No related merge requests found
...@@ -85,7 +85,8 @@ if(NOT DEFINED LOFAR_INIT_INCLUDED) ...@@ -85,7 +85,8 @@ if(NOT DEFINED LOFAR_INIT_INCLUDED)
get_filename_component(_cmpvar ${CMAKE_BINARY_DIR} NAME) get_filename_component(_cmpvar ${CMAKE_BINARY_DIR} NAME)
# Set the default install path prefix. # 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. # Split directory name in compiler suite part and build variant part.
string(TOUPPER ${_cmpvar} _cmpvar) string(TOUPPER ${_cmpvar} _cmpvar)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment