Skip to content

Commit 60fd2b4

Browse files
committed
CI: Link basicapitest with Accelerate framework for MacOS
Clean also some other compiler options for basicapitest. Fixes: 3ab8dcb ("Use Apple Accelerate framework [...]") Signed-off-by: Stefan Weil <[email protected]>
1 parent e5e12f2 commit 60fd2b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/autotools-macos.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ jobs:
9292
run: |
9393
export "PKG_CONFIG_PATH=/usr/local/lib/pkgconfig"
9494
cd test
95-
${{ 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
95+
${{ matrix.config.cxx }} -o basicapitest testing/basicapitest.cpp $(pkg-config --cflags --libs tesseract lept) -pthread -std=c++11 -framework accelerate
9696
./basicapitest
9797
9898
- name: Display Compiler Version
@@ -189,7 +189,7 @@ jobs:
189189
run: |
190190
export "PKG_CONFIG_PATH=/usr/local/lib/pkgconfig"
191191
cd test
192-
${{ 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
192+
${{ 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
193193
./basicapitest
194194
195195
- name: Display Compiler Version

0 commit comments

Comments
 (0)