Skip to content

Commit f4957db

Browse files
Exclude doc/icon resources in non-Qt builds
1 parent e4e2204 commit f4957db

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

src/unit_tests/unit_tests.pro

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,16 @@ DESTDIR = $$OUT_PWD/..
44
include($$PWD/../klayout.pri)
55
include($$PWD/../with_all_libs.pri)
66

7-
# NOTE: doc is needed for testing help sources
7+
!equals(HAVE_QT, "0") {
8+
9+
# NOTE: doc is needed for testing help sources
810

9-
INCLUDEPATH += $$DOC_INC $$ICONS_INC
10-
DEPENDPATH += $$DOC_INC $$ICONS_INC
11+
INCLUDEPATH += $$DOC_INC $$ICONS_INC
12+
DEPENDPATH += $$DOC_INC $$ICONS_INC
1113

12-
LIBS += -lklayout_doc -lklayout_icons
14+
LIBS += -lklayout_doc -lklayout_icons
15+
16+
}
1317

1418
TEMPLATE = app
1519

0 commit comments

Comments
 (0)