From 2fbf934633becfed12e33d206800d2b56b58b4e6 Mon Sep 17 00:00:00 2001 From: Matthew Budd Date: Tue, 30 Jun 2020 21:28:18 -0400 Subject: [PATCH] MacOS build take 4 --- fceux.pro | 2 ++ pipelines/macOS_build.sh | 8 ++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/fceux.pro b/fceux.pro index 46a7c2fd..6961d182 100644 --- a/fceux.pro +++ b/fceux.pro @@ -48,6 +48,8 @@ unix { QMAKE_CXXFLAGS -= -O2 QMAKE_CXXFLAGS += -D__QT_DRIVER__ -O0 -g3 -Wall -Wno-write-strings -Wno-sign-compare -Wno-parentheses -Wno-unused-local-typedefs QMAKE_CXXFLAGS_RELEASE -= -O2 + + LIBS += -lz } # Input diff --git a/pipelines/macOS_build.sh b/pipelines/macOS_build.sh index 69705d61..9596f945 100755 --- a/pipelines/macOS_build.sh +++ b/pipelines/macOS_build.sh @@ -18,11 +18,15 @@ echo '****************************************' brew install sdl2 brew install qt5 brew install minizip -brew install zlib +#brew install zlib # Already installed in appveyor macOS + +export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig: + +QMAKE=`find /usr/local -name qmake`; mkdir build; cd build; -/usr/local/Cellar/qt/5.15.0/bin/qmake .. +$QMAKE .. make # Debug via ssh if necessary