diff --git a/src/klayout.pri b/src/klayout.pri index c09f225ce..fd1a3eb91 100644 --- a/src/klayout.pri +++ b/src/klayout.pri @@ -2,6 +2,7 @@ TL_INC = $$PWD/tl/tl DB_INC = $$PWD/db/db DRC_INC = $$PWD/drc/drc +LVS_INC = $$PWD/lvs/lvs EDT_INC = $$PWD/edt/edt EXT_INC = $$PWD/ext/ext GSI_INC = $$PWD/gsi/gsi diff --git a/src/klayout_main/klayout_main/klayout.cc b/src/klayout_main/klayout_main/klayout.cc index 29187840f..ecd106776 100644 --- a/src/klayout_main/klayout_main/klayout.cc +++ b/src/klayout_main/klayout_main/klayout.cc @@ -44,6 +44,7 @@ #include "imgForceLink.h" #if defined(HAVE_RUBY) #include "drcForceLink.h" +#include "lvsForceLink.h" #endif #if defined(HAVE_QTBINDINGS) diff --git a/src/unit_tests/unit_test_main.cc b/src/unit_tests/unit_test_main.cc index 8e16f6546..5c71f874b 100644 --- a/src/unit_tests/unit_test_main.cc +++ b/src/unit_tests/unit_test_main.cc @@ -67,6 +67,7 @@ #include "rdbForceLink.h" #if defined(HAVE_RUBY) && defined(HAVE_QT) #include "drcForceLink.h" +#include "lvsForceLink.h" #endif static int main_cont (int &argc, char **argv); diff --git a/src/with_all_libs.pri b/src/with_all_libs.pri index d001761ea..b3bed76b0 100644 --- a/src/with_all_libs.pri +++ b/src/with_all_libs.pri @@ -37,9 +37,9 @@ equals(HAVE_PYTHON, "1") { !equals(HAVE_QT, "0") { equals(HAVE_RUBY, "1") { # DRC is only available with Ruby - INCLUDEPATH += $$DRC_INC - DEPENDPATH += $$DRC_INC - LIBS += -lklayout_drc + INCLUDEPATH += $$DRC_INC $$LVS_INC + DEPENDPATH += $$DRC_INC $$LVS_INC + LIBS += -lklayout_drc -lklayout_lvs } }