Maybe brew prefix will help

This commit is contained in:
Joseph Donofry 2022-10-20 22:12:23 -04:00
parent 443ad4e0a0
commit c3fd250103
No known key found for this signature in database
GPG key ID: E8A1D78EF044B0CB

View file

@ -5,8 +5,9 @@ task:
homebrew_script: homebrew_script:
- brew bundle --file .ci/macos/Brewfile - brew bundle --file .ci/macos/Brewfile
build_script: build_script:
- export PATH=/usr/local/opt/qt@5/bin/:${PATH} - export PATH="$(brew --prefix qt5)/bin/:${PATH}"
- export CMAKE_PREFIX_PATH=/usr/local/opt/qt@5 - export CMAKE_PREFIX_PATH="$(brew --prefix qt5)"
- echo "$(brew --prefix qt5)"
- cmake -GNinja -S. -Bbuild - cmake -GNinja -S. -Bbuild
-DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_BUILD_TYPE=RelWithDebInfo
-DCMAKE_INSTALL_PREFIX=.deps/usr -DCMAKE_INSTALL_PREFIX=.deps/usr
@ -14,11 +15,11 @@ task:
-DHUNTER_ENABLED=ON -DBUILD_SHARED_LIBS=OFF -DHUNTER_ENABLED=ON -DBUILD_SHARED_LIBS=OFF
-DCMAKE_BUILD_TYPE=RelWithDebInfo -DHUNTER_CONFIGURATION_TYPES=RelWithDebInfo -DCMAKE_BUILD_TYPE=RelWithDebInfo -DHUNTER_CONFIGURATION_TYPES=RelWithDebInfo
-DUSE_BUNDLED_OPENSSL=ON -DUSE_BUNDLED_OPENSSL=ON
-DQT_PATH=/usr/local/opt/qt@5/, -DQT_PATH="$(brew --prefix qt5)",
-DQt5_DIR:PATH=/usr/local/opt/qt@5/lib/cmake/Qt5, -DQt5_DIR:PATH="$(brew --prefix qt5)/lib/cmake/Qt5",
-DQt5MacExtras_DIR:PATH=/usr/local/opt/qt@5/lib/cmake/Qt5MacExtras, -DQt5MacExtras_DIR:PATH="$(brew --prefix qt5)/lib/cmake/Qt5MacExtras",
-DQt5DBus_DIR:PATH=/usr/local/opt/qt@5/lib/cmake/Qt5DBus, -DQt5DBus_DIR:PATH="$(brew --prefix qt5)/lib/cmake/Qt5DBus",
-DQt5QuickCompiler_DIR:PATH=/usr/local/opt/qt@5/lib/cmake/Qt5QuickCompiler, -DQt5QuickCompiler_DIR:PATH="$(brew --prefix qt5)/lib/cmake/Qt5QuickCompiler",
-DCI_BUILD=ON -DCI_BUILD=ON
-DCMAKE_OSX_DEPLOYMENT_TARGET=10.15 -DCMAKE_OSX_DEPLOYMENT_TARGET=10.15
- cmake --build build - cmake --build build