File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ set(xtl_REQUIRED_VERSION 0.7.0)
3333if (TARGET xtl)
3434 set (xtl_VERSION ${XTL_VERSION_MAJOR} .${XTL_VERSION_MINOR} .${XTL_VERSION_PATCH} )
3535 # Note: This is not SEMVER compatible comparison
36- if ( NOT ${xtl_VERSION} VERSION_GREATER_EQUAL ${xtl_REQUIRED_VERSION} )
36+ if (${xtl_VERSION} VERSION_LESS ${xtl_REQUIRED_VERSION} )
3737 message (ERROR "Mismatch xtl versions. Found '${xtl_VERSION} ' but requires: '${xtl_REQUIRED_VERSION} '" )
3838 else ()
3939 message (STATUS "Found xtl v${xtl_VERSION} " )
@@ -63,7 +63,7 @@ if(XTENSOR_USE_XSIMD)
6363 if (TARGET xsimd)
6464 set (xsimd_VERSION ${XSIMD_VERSION_MAJOR} .${XSIMD_VERSION_MINOR} .${XSIMD_VERSION_PATCH} )
6565 # Note: This is not SEMVER compatible comparison
66- if ( NOT ${xsimd_VERSION} VERSION_GREATER_EQUAL ${xsimd_REQUIRED_VERSION} )
66+ if (${xsimd_VERSION} VERSION_LESS ${xsimd_REQUIRED_VERSION} )
6767 message (ERROR "Mismatch xsimd versions. Found '${xsimd_VERSION} ' but requires: '${xsimd_REQUIRED_VERSION} '" )
6868 else ()
6969 message (STATUS "Found xsimd v${xsimd_VERSION} " )
You can’t perform that action at this time.
0 commit comments