From 60fd2b4abaa9c5c5c42d32db57576bc95d28a78a Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Mon, 6 Sep 2021 17:12:33 +0200 Subject: [PATCH] CI: Link basicapitest with Accelerate framework for MacOS Clean also some other compiler options for basicapitest. Fixes: 3ab8dcbf72e0 ("Use Apple Accelerate framework [...]") Signed-off-by: Stefan Weil --- .github/workflows/autotools-macos.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/autotools-macos.yml b/.github/workflows/autotools-macos.yml index 4134d45a0c..472a75ebb5 100644 --- a/.github/workflows/autotools-macos.yml +++ b/.github/workflows/autotools-macos.yml @@ -92,7 +92,7 @@ jobs: run: | export "PKG_CONFIG_PATH=/usr/local/lib/pkgconfig" cd test - ${{ matrix.config.cxx }} -o basicapitest testing/basicapitest.cpp -I/usr/local/include -L/usr/local/lib `pkg-config --cflags --libs tesseract lept ` -pthread -std=c++11 + ${{ matrix.config.cxx }} -o basicapitest testing/basicapitest.cpp $(pkg-config --cflags --libs tesseract lept) -pthread -std=c++11 -framework accelerate ./basicapitest - name: Display Compiler Version @@ -189,7 +189,7 @@ jobs: run: | export "PKG_CONFIG_PATH=/usr/local/lib/pkgconfig" cd test - ${{ matrix.config.cxx }} -o basicapitest testing/basicapitest.cpp -I/opt/local/include -L/opt/local/lib -I/usr/local/include -L/usr/local/lib `pkg-config --cflags --libs tesseract lept ` -pthread -std=c++11 + ${{ matrix.config.cxx }} -o basicapitest testing/basicapitest.cpp -I/opt/local/include -L/opt/local/lib $(pkg-config --cflags --libs tesseract lept) -pthread -std=c++11 -framework Accelerate ./basicapitest - name: Display Compiler Version