v0.14.0
CheckMoFEMVersion.cmake
Go to the documentation of this file.
1 #
2 
3 macro(CHECK_MOFEM_VERSION VERSION_MAJOR VERSION_MINOR VERSION_PATCH)
4 
5  if(${MoFEM_VERSION} VERSION_LESS ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH})
6  message(
7  FATAL_ERROR
8  "(Update MoFEM) Wrong MoFEM version: "
9  "${MoFEM_VERSION} < ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}"
10  )
11  endif(${MoFEM_VERSION} VERSION_LESS ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH})
12 
13 endmacro(CHECK_MOFEM_VERSION)