summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorStefan Radomski <github@mintwerk.de>2016-11-23 10:21:21 (GMT)
committerStefan Radomski <github@mintwerk.de>2016-11-23 10:21:21 (GMT)
commitbc46e0d793839fe456b082c9510eceaf85c9a612 (patch)
treee684ff5354ec235df4a3f90fc4e01df15cace51c /test
parent5e5889a29e56ff49a53e1257b8f7bd2b7a28b2dd (diff)
downloaduscxml-bc46e0d793839fe456b082c9510eceaf85c9a612.zip
uscxml-bc46e0d793839fe456b082c9510eceaf85c9a612.tar.gz
uscxml-bc46e0d793839fe456b082c9510eceaf85c9a612.tar.bz2
Fixed build if no GHDL was found
Diffstat (limited to 'test')
-rw-r--r--test/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
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})