Skip to content

Commit 81264a0

Browse files
committed
removing opencv for mac
1 parent f70e6ca commit 81264a0

File tree

4 files changed

+18
-3
lines changed

4 files changed

+18
-3
lines changed

.github/workflows/BuildRelight.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ jobs:
4141
echo "QT_VERSION=6.6.*" >> $GITHUB_ENV
4242
4343
- name: Install OpenCV on macOS
44-
if: matrix.os == 'macos-14'
44+
if: runner.os == 'macOS'
4545
run: |
46-
echo "QT_VERSION=6.7.3" >> $GITHUB_ENV
46+
echo "QT_VERSION=6.8.0" >> $GITHUB_ENV
4747
4848
- name: Install OpenCV on Windows
4949
if: matrix.os == 'windows-latest'

build_scripts/macOS/1_build.sh

+5
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ SOURCE_PATH=$SCRIPTS_PATH/../..
1717
BUILD_PATH=$SOURCE_PATH/build
1818
INSTALL_PATH=$SOURCE_PATH/install
1919
CORES="-j4"
20+
QT_DIR=""
2021
USE_BREW_LLVM=false
2122
CCACHE=""
2223

@@ -36,6 +37,10 @@ case $i in
3637
CORES=$i
3738
shift # past argument=value
3839
;;
40+
-qt=*|--qt_dir=*)
41+
QT_DIR=${i#*=}
42+
shift # past argument=value
43+
;;
3944
--ccache)
4045
CCACHE="-DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache"
4146
shift # past argument=value

build_scripts/macOS/2_deploy.sh

+6-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
SCRIPTS_PATH="$(dirname "$(realpath "$0")")"
44

55
INSTALL_PATH=$SCRIPTS_PATH/../../install
6+
QT_DIR_OPTION=""
67
PACKAGES_PATH=$SCRIPTS_PATH/../../packages
78
SIGN=true
89
NOTARIZE=true
@@ -19,6 +20,10 @@ case $i in
1920
INSTALL_PATH="${i#*=}"
2021
shift # past argument=value
2122
;;
23+
-qt=*|--qt_dir=*)
24+
QT_DIR_OPTION=-qt=${i#*=}
25+
shift # past argument=value
26+
;;
2227
-p=*|--packages_path=*)
2328
PACKAGES_PATH="${i#*=}"
2429
shift # past argument=value
@@ -51,7 +56,7 @@ case $i in
5156
esac
5257
done
5358

54-
bash $SCRIPTS_PATH/internal/2a_appbundle.sh -i=$INSTALL_PATH
59+
bash $SCRIPTS_PATH/internal/2a_appbundle.sh -i=$INSTALL_PATH $QT_DIR_OPTION
5560

5661
echo "======= AppBundle Created ======="
5762

build_scripts/macOS/internal/2a_appbundle.sh

+5
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
SCRIPTS_PATH="$(dirname "$(realpath "$0")")"/..
44

55
INSTALL_PATH=$SCRIPTS_PATH/../../install
6+
QT_DIR=""
67
APPNAME="relightlab.app"
78

89
#checking for parameters
@@ -13,6 +14,10 @@ case $i in
1314
INSTALL_PATH="${i#*=}"
1415
shift # past argument=value
1516
;;
17+
-qt=*|--qt_dir=*)
18+
QT_DIR=${i#*=}/bin/
19+
shift # past argument=value
20+
;;
1621
*)
1722
# unknown option
1823
;;

0 commit comments

Comments
 (0)