Try and make build on OSX.

This commit is contained in:
David Given
2024-01-08 00:11:12 +01:00
parent f2d68f13d7
commit c994835895
3 changed files with 4 additions and 2 deletions

View File

@@ -36,7 +36,7 @@ jobs:
repository: 'davidgiven/fluxengine-testdata'
path: 'fluxengine-testdata'
- name: brew
run: brew install sqlite pkg-config libusb protobuf wxwidgets fmt make coreutils dylibbundler libjpeg
run: brew install sqlite pkg-config libusb protobuf wxwidgets fmt make coreutils dylibbundler libjpeg qt@5
- name: make
run: gmake -j`nproc` -C fluxengine

View File

@@ -97,7 +97,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: brew
run: brew install sqlite pkg-config libusb protobuf wxwidgets fmt make coreutils dylibbundler libjpeg
run: brew install sqlite pkg-config libusb protobuf wxwidgets fmt make coreutils dylibbundler libjpeg qt@5
- name: make
run: gmake

View File

@@ -33,6 +33,8 @@ endif
# Special OSX settings.
ifeq ($(shell uname),Darwin)
export PKG_CONFIG_PATH="/usr/local/opt/qt@5/lib/pkgconfig"
LDFLAGS += \
-framework IOKit \
-framework Foundation