From 7f5b08d7ab1eba97faf6726d7784957217e32afb Mon Sep 17 00:00:00 2001 From: Oliver Behnke <oliver.behnke@aei.mpg.de> Date: Fri, 27 Nov 2020 12:30:37 +0100 Subject: [PATCH] Added missing conditional --- build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 3e907a7..e814b5c 100755 --- a/build.sh +++ b/build.sh @@ -456,8 +456,10 @@ build_boinc() fi echo "Fixing up BOINC's incomplete out-of-tree build..." | tee -a $LOGFILE mkdir -p $ROOT/install/include/boinc >> $LOGFILE 2>&1 || failure + if [ "$1" == "$TARGET_MAC" ]; then + cp $ROOT/build/boinc/MultiGPUMig*.h $ROOT/install/include/boinc >> $LOGFILE 2>&1 || failure + fi cp $ROOT/build/boinc/config.h $ROOT/install/include/boinc >> $LOGFILE 2>&1 || failure - cp $ROOT/build/boinc/MultiGPUMig*.h $ROOT/install/include/boinc >> $LOGFILE 2>&1 || failure cp $ROOT/3rdparty/boinc/project_specific_defines.h $ROOT/install/include/boinc >> $LOGFILE 2>&1 || failure echo "Building BOINC (this may take a while)..." | tee -a $LOGFILE make >> $LOGFILE 2>&1 || failure -- GitLab