From 515f85c7d9106f21b4cd4e91d3034d24ab8a62cb Mon Sep 17 00:00:00 2001 From: Hannes Hauswedell Date: Fri, 16 Jun 2017 16:55:05 +0200 Subject: [PATCH] [feature] re-activate version check --- src/CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index d71ac76b4..f89706aa3 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -134,8 +134,10 @@ message( " LAMBDA_STATIC_BUILD ${LAMBDA_STATIC_BUILD}") message(STATUS "Run 'cmake -LH' to get a comment on each option.") message(STATUS "Remove CMakeCache.txt and re-run cmake with -DOPTIONNAME=ON|OFF to change an option.") -# deactivate the version check until all issues are resolved -add_definitions (-DSEQAN_DISABLE_VERSION_CHECK="YES") +# deactivate the version check on broken seqan releases +if (SEQAN_VERSION_STRING VERSION_LESS "2.3.2") + add_definitions (-DSEQAN_DISABLE_VERSION_CHECK="YES") +endif () # ---------------------------------------------------------------------------- # Compiler specifics