Skip to content

Commit

Permalink
Allow version numbers 1.4 and above for open62541
Browse files Browse the repository at this point in the history
  • Loading branch information
jpfr committed Nov 30, 2023
1 parent a6d6632 commit fd60349
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,7 @@ if(${ENABLE_BUILD_INTO_OPEN62541})
list(GET MAIN_VERSIONS_OPEN62541_LIST 1 OPEN62541_MINOR)
list(GET MAIN_VERSIONS_OPEN62541_LIST 2 OPEN62541_SUBMINOR)

if(NOT(${OPEN62541_MAJOR} EQUAL "1" AND
${OPEN62541_MINOR} EQUAL "3" AND
${OPEN62541_SUBMINOR} GREATER_EQUAL "2"))
if(NOT(${OPEN62541_MAJOR} GREATER_EQUAL "1" AND ${OPEN62541_MINOR} GREATER_EQUAL "3"))
message(FATAL_ERROR "This version of nodesetLoader can be built with open62541 >= v1.3.2")
else()
message("open62541 ${OPEN62541_VERSION} is compatible to use the nodesetLoader.")
Expand Down

0 comments on commit fd60349

Please sign in to comment.