If verific have vhdl lib it is required by other libs
authorMiodrag Milanovic <mmicko@gmail.com>
Wed, 20 Oct 2021 11:08:08 +0000 (13:08 +0200)
committerMiodrag Milanovic <mmicko@gmail.com>
Wed, 20 Oct 2021 11:08:08 +0000 (13:08 +0200)
Makefile

index 4140c16f9389e91b5bf15b6055d7653079d3a5f5..d1795f8131c4563ac7974ce9c1dd93d8251041e4 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -504,6 +504,10 @@ VERIFIC_COMPONENTS ?= verilog database util containers hier_tree
 ifneq ($(DISABLE_VERIFIC_VHDL),1)
 VERIFIC_COMPONENTS += vhdl
 CXXFLAGS += -DVERIFIC_VHDL_SUPPORT
+else
+ifneq ($(wildcard $(VERIFIC_DIR)/vhdl),)
+VERIFIC_COMPONENTS += vhdl
+endif
 endif
 ifneq ($(DISABLE_VERIFIC_EXTENSIONS),1)
 VERIFIC_COMPONENTS += extensions