Exclude doc/icon resources in non-Qt builds

This commit is contained in:
Matthias Koefferlein 2022-12-21 22:45:48 +01:00
parent e4e2204939
commit f4957dbad2
1 changed files with 8 additions and 4 deletions

View File

@ -4,12 +4,16 @@ DESTDIR = $$OUT_PWD/..
include($$PWD/../klayout.pri)
include($$PWD/../with_all_libs.pri)
# NOTE: doc is needed for testing help sources
!equals(HAVE_QT, "0") {
INCLUDEPATH += $$DOC_INC $$ICONS_INC
DEPENDPATH += $$DOC_INC $$ICONS_INC
# NOTE: doc is needed for testing help sources
LIBS += -lklayout_doc -lklayout_icons
INCLUDEPATH += $$DOC_INC $$ICONS_INC
DEPENDPATH += $$DOC_INC $$ICONS_INC
LIBS += -lklayout_doc -lklayout_icons
}
TEMPLATE = app