From 4cf23ea4693b7f6d4000839ea07147700294b627 Mon Sep 17 00:00:00 2001 From: Peguen <73380451+Peguen@users.noreply.github.com> Date: Mon, 19 Aug 2024 17:00:49 +0200 Subject: [PATCH] Added qt5 to cmake_prefix_path. --- .github/workflows/build-macos.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos.yml index 36c3f1685d..0cab49175d 100644 --- a/.github/workflows/build-macos.yml +++ b/.github/workflows/build-macos.yml @@ -22,7 +22,7 @@ jobs: run: brew install python3 || brew link --overwrite python@3.12 - name: Install latest Qt5 via brew - run: brew install qt@5 || export LDFLAGS="-L/usr/local/opt/qt@5/lib" || export CPPFLAGS="-I/usr/local/opt/qt@5/include" + run: brew install qt@5 - name: Install Dependencies run: brew install ninja doxygen graphviz protobuf hdf5@1.10 pkg-config capnp @@ -74,7 +74,7 @@ jobs: -DECAL_THIRDPARTY_BUILD_TCP_PUBSUB=ON \ -DECAL_THIRDPARTY_BUILD_QWT=ON \ -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_PREFIX_PATH=/usr/local/opt/hdf5@1.10 \ + -DCMAKE_PREFIX_PATH="/usr/local/opt/hdf5@1.10;/usr/local/opt/qt@5" \ -DCMAKE_CXX_STANDARD=17 \ -DCMAKE_FIND_PACKAGE_PREFER_CONFIG=ON \ -DPython_FIND_STRATEGY=LOCATION \