mirror of https://github.com/KLayout/klayout.git
Fixed builds without ruby/python
This commit is contained in:
parent
161d13ad3a
commit
db2157bb94
|
|
@ -12,5 +12,17 @@ SOURCES = \
|
||||||
INCLUDEPATH += $$RBA_INC $$PYA_INC $$LYM_INC $$TL_INC $$GSI_INC
|
INCLUDEPATH += $$RBA_INC $$PYA_INC $$LYM_INC $$TL_INC $$GSI_INC
|
||||||
DEPENDPATH += $$RBA_INC $$PYA_INC $$LYM_INC $$TL_INC $$GSI_INC
|
DEPENDPATH += $$RBA_INC $$PYA_INC $$LYM_INC $$TL_INC $$GSI_INC
|
||||||
|
|
||||||
LIBS += -L$$DESTDIR_UT -lklayout_rba -lklayout_pya -lklayout_lym -lklayout_tl -lklayout_gsi
|
LIBS += -L$$DESTDIR_UT -lklayout_lym -lklayout_tl -lklayout_gsi
|
||||||
|
|
||||||
|
equals(HAVE_RUBY, "1") {
|
||||||
|
LIBS += -lklayout_rba
|
||||||
|
} else {
|
||||||
|
LIBS += -lklayout_rbastub
|
||||||
|
}
|
||||||
|
|
||||||
|
equals(HAVE_PYTHON, "1") {
|
||||||
|
LIBS += -lklayout_pya
|
||||||
|
} else {
|
||||||
|
LIBS += -lklayout_pyastub
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue