From 6526625a677acd077a6c2687a907bec395da1f65 Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Fri, 29 Dec 2017 20:35:34 +0100 Subject: [PATCH] Fixed Ruby-less build. --- src/klayout_main/klayout_main.pro | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/klayout_main/klayout_main.pro b/src/klayout_main/klayout_main.pro index 704e6f75e..8f633cc2d 100644 --- a/src/klayout_main/klayout_main.pro +++ b/src/klayout_main/klayout_main.pro @@ -1,6 +1,12 @@ TEMPLATE = subdirs -SUBDIRS = klayout_main tests +SUBDIRS = klayout_main -tests.depends += klayout_main +equals(HAVE_RUBY, "1") { + + # klayout_main_tests requires Ruby to run, hence HAVE_RUBY + SUBDIRS += tests + tests.depends += klayout_main + +}