diff options
Diffstat (limited to 'tools/buildsteps/osx64')
-rwxr-xr-x | tools/buildsteps/osx64/make-binary-addons | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tools/buildsteps/osx64/make-binary-addons b/tools/buildsteps/osx64/make-binary-addons index b27b07ddf6..1625f933d1 100755 --- a/tools/buildsteps/osx64/make-binary-addons +++ b/tools/buildsteps/osx64/make-binary-addons @@ -15,7 +15,13 @@ then do echo "building $addon" git clean -xffd $WORKSPACE/$BINARY_ADDONS_ROOT/$addon - cd $WORKSPACE/$BINARY_ADDONS_ROOT/$addon;make -j $BUILDTHREADS V=99 VERBOSE=1 || ALL_BINARY_ADDONS_BUILT="0" + + if [ "$CMAKE_BUILD" = true ]; then + INSTALL_PREFIX="../../../../../build/addons/" + else + INSTALL_PREFIX="../../../../../addons/" + fi + cd $WORKSPACE/$BINARY_ADDONS_ROOT/$addon;make -j $BUILDTHREADS V=99 VERBOSE=1 INSTALL_PREFIX="$INSTALL_PREFIX" || ALL_BINARY_ADDONS_BUILT="0" done fi |