Skip to content

Commit 515f85c

Browse files
committed
[feature] re-activate version check
1 parent 7dc4c47 commit 515f85c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/CMakeLists.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,10 @@ message( " LAMBDA_STATIC_BUILD ${LAMBDA_STATIC_BUILD}")
134134
message(STATUS "Run 'cmake -LH' to get a comment on each option.")
135135
message(STATUS "Remove CMakeCache.txt and re-run cmake with -DOPTIONNAME=ON|OFF to change an option.")
136136

137-
# deactivate the version check until all issues are resolved
138-
add_definitions (-DSEQAN_DISABLE_VERSION_CHECK="YES")
137+
# deactivate the version check on broken seqan releases
138+
if (SEQAN_VERSION_STRING VERSION_LESS "2.3.2")
139+
add_definitions (-DSEQAN_DISABLE_VERSION_CHECK="YES")
140+
endif ()
139141

140142
# ----------------------------------------------------------------------------
141143
# Compiler specifics

0 commit comments

Comments
 (0)