mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
Support Haiku OS specific libs and compile flags in the build system.
This commit is contained in:
parent
8c4f167fb0
commit
2c914d6579
@ -17,6 +17,11 @@ unix:!macx{
|
|||||||
QMAKE_CXXFLAGS += -std=c++11
|
QMAKE_CXXFLAGS += -std=c++11
|
||||||
}
|
}
|
||||||
|
|
||||||
|
unix:haiku {
|
||||||
|
DEFINES += _BSD_SOURCE
|
||||||
|
LIBS += -lnetwork -lbsd
|
||||||
|
}
|
||||||
|
|
||||||
CONFIG(force_angle) {
|
CONFIG(force_angle) {
|
||||||
contains(QMAKE_TARGET.arch, x86_64) {
|
contains(QMAKE_TARGET.arch, x86_64) {
|
||||||
Release:DESTDIR = ../release64_angle
|
Release:DESTDIR = ../release64_angle
|
||||||
|
@ -19,6 +19,11 @@ QMAKE_MAC_SDK = macosx10.12
|
|||||||
include (../config.pri)
|
include (../config.pri)
|
||||||
include (../dependencies/pdf_backend.pri)
|
include (../dependencies/pdf_backend.pri)
|
||||||
|
|
||||||
|
unix:haiku {
|
||||||
|
DEFINES += _BSD_SOURCE
|
||||||
|
LIBS += -lnetwork -lbsd
|
||||||
|
}
|
||||||
|
|
||||||
CONFIG(legacy_gl_widget) {
|
CONFIG(legacy_gl_widget) {
|
||||||
INCLUDEPATH += ../common/gl_legacy \
|
INCLUDEPATH += ../common/gl_legacy \
|
||||||
} else {
|
} else {
|
||||||
@ -66,11 +71,9 @@ unix:!macx:!CONFIG(no_opengl) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
macx {
|
macx {
|
||||||
|
LIBS += -framework Foundation -framework ApplicationServices -framework AppKit
|
||||||
LIBS += -framework Foundation -framework ApplicationServices -framework AppKit
|
CONFIG += objective_c
|
||||||
|
QT += macextras gui-private
|
||||||
CONFIG += objective_c
|
|
||||||
QT += macextras gui-private
|
|
||||||
}
|
}
|
||||||
|
|
||||||
unix:!macx {
|
unix:!macx {
|
||||||
|
@ -33,6 +33,11 @@ unix {
|
|||||||
CONFIG += c++11
|
CONFIG += c++11
|
||||||
}
|
}
|
||||||
|
|
||||||
|
unix:haiku {
|
||||||
|
DEFINES += _BSD_SOURCE
|
||||||
|
LIBS += -lnetwork -lbsd
|
||||||
|
}
|
||||||
|
|
||||||
#CONFIG += release
|
#CONFIG += release
|
||||||
CONFIG -= flat
|
CONFIG -= flat
|
||||||
QT += core sql network
|
QT += core sql network
|
||||||
|
Loading…
Reference in New Issue
Block a user