Skip to content

Commit 5045d22

Browse files
author
Ole Liabø
committed
OS-X compile fixes.
1 parent 69a1182 commit 5045d22

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

insight.pro

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,13 @@ win32:release:LIBS += \
7979

8080
# Library dependency checking
8181
PRE_TARGETDEPS += $$LIBS
82-
83-
unix:LIBS += -lboost_thread \
82+
macx:LIBS += -L/usr/local/lib \
83+
-lboost_thread-mt \
84+
-lboost_date_time \
85+
-lboost_regex \
86+
-lboost_system \
87+
-lboost_chrono
88+
unix:!macx:LIBS += -lboost_thread \
8489
-lboost_date_time \
8590
-lboost_regex \
8691
-lboost_system \
@@ -91,7 +96,7 @@ macx:LIBS += -L/usr/local/Cellar/zlib/1.2.11/lib -lz
9196

9297
# Tested on Debian GNU/Linux using distribution
9398
# libraries (libpoppler-qt5-dev and libquazip5-dev)
94-
unix {
99+
unix:!macx {
95100
INCLUDEPATH += /usr/include/quazip5 /usr/include/poppler/qt5
96101
LIBS += -lquazip5 -lz -lpoppler -lpoppler-qt5
97102
target.path = /usr/bin

0 commit comments

Comments
 (0)