Browse Source

lib/function.in: fixed to not prefix CMAKE_INSTALL_PREFIX with $root

stable/0.6
Christian Wiese 12 years ago
parent
commit
994a79048f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/functions.in

+ 1
- 1
lib/functions.in

@ -1385,7 +1385,7 @@ detect_confdir()
init_vars_and_hooks()
{
makeopt='CC="$CC" CPP="$CPP" CXX="$CXX"'
cmakeopt='-DCMAKE_INSTALL_PREFIX="$root/$prefix"'
cmakeopt='-DCMAKE_INSTALL_PREFIX="/$prefix"'
cmakeopt="$cmakeopt"' -DCMAKE_LIBRARY_PATH="$libdir"'
cmakebuilddir=1
# some scons based builds are using 'prefix' others 'PREFIX'

Loading…
Cancel
Save