diff options
author | Stefan Radomski <github@mintwerk.de> | 2016-11-23 10:21:21 (GMT) |
---|---|---|
committer | Stefan Radomski <github@mintwerk.de> | 2016-11-23 10:21:21 (GMT) |
commit | bc46e0d793839fe456b082c9510eceaf85c9a612 (patch) | |
tree | e684ff5354ec235df4a3f90fc4e01df15cace51c /test/CMakeLists.txt | |
parent | 5e5889a29e56ff49a53e1257b8f7bd2b7a28b2dd (diff) | |
download | uscxml-bc46e0d793839fe456b082c9510eceaf85c9a612.zip uscxml-bc46e0d793839fe456b082c9510eceaf85c9a612.tar.gz uscxml-bc46e0d793839fe456b082c9510eceaf85c9a612.tar.bz2 |
Fixed build if no GHDL was found
Diffstat (limited to 'test/CMakeLists.txt')
-rw-r--r-- | test/CMakeLists.txt | 1 |
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}) |