diff options
-rwxr-xr-x | scripts/build.sh | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/build.sh b/scripts/build.sh index 4861ad318..b5704af8a 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -475,6 +475,7 @@ for (( i=0 ; i < ${#BUILDS[@]} ; i++ )) ; do -DLIBDIVECOMPUTER_LIBRARIES=$INSTALL_ROOT/lib/libdivecomputer.a \ -DCMAKE_PREFIX_PATH=$CMAKE_PREFIX_PATH \ -DBTSUPPORT=${BTSUPPORT} \ + -DCMAKE_INSTALL_PREFIX=${INSTALL_ROOT} \ $PRINTING $EXTRA_OPTS if [ $PLATFORM = Darwin ] ; then @@ -483,8 +484,5 @@ for (( i=0 ; i < ${#BUILDS[@]} ; i++ )) ; do fi LIBRARY_PATH=$INSTALL_ROOT/lib make -j4 - - if [ $PLATFORM = Darwin ] ; then - LIBRARY_PATH=$INSTALL_ROOT/lib make install - fi + LIBRARY_PATH=$INSTALL_ROOT/lib make install done |