Skip to content

Commit

Permalink
3.0 -> 2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
mhubii committed May 30, 2024
1 parent ff7c44e commit 2f66cd2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ set(FRICLIENT_VERSION_MAJOR ${CMAKE_MATCH_1})
set(FRICLIENT_VERSION_MINOR ${CMAKE_MATCH_2})
set(FRICLIENT_VERSION ${FRICLIENT_VERSION_MAJOR}.${FRICLIENT_VERSION_MINOR})

if (NOT FRICLIENT_VERSION STREQUAL "3.0")
message(FATAL_ERROR "Expected FRIClient version 3.0, found: " ${FRICLIENT_VERSION})
if (NOT FRICLIENT_VERSION STREQUAL "2.7")
message(FATAL_ERROR "Expected FRIClient version 2.7, found: " ${FRICLIENT_VERSION})
endif()

message("Found FRIClient of version: " ${FRICLIENT_VERSION})
Expand Down

0 comments on commit 2f66cd2

Please sign in to comment.