From bc46e0d793839fe456b082c9510eceaf85c9a612 Mon Sep 17 00:00:00 2001 From: Stefan Radomski Date: Wed, 23 Nov 2016 11:21:21 +0100 Subject: Fixed build if no GHDL was found --- test/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 2226742..9bac819 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -8,6 +8,7 @@ find_program(ANT_EXECUTABLE ant) find_program(PERL perl) find_program(GHDL ghdl) +set(GHDL_VERSION "0") if (GHDL) execute_process(COMMAND ${GHDL} -v OUTPUT_VARIABLE GHDL_VERSION_OUT) string(REGEX REPLACE "^GHDL " "" GHDL_VERSION_OUT ${GHDL_VERSION_OUT}) -- cgit v0.12