Resync
[CMakeLuaTailorHgBridge.git] / CMakeLua / Tests / CMakeTests / VersionTest.cmake.in
blob215bb2b969a4c1c514e3f65b2ed44c15713bcba2
1 set(min_ver 2.7.20090305)
2 cmake_minimum_required(VERSION ${min_ver})
4 if("${CMAKE_VERSION}" VERSION_LESS "${min_ver}")
5   message(FATAL_ERROR
6     "CMAKE_VERSION=[${CMAKE_VERSION}] is less than [${min_ver}]")
7 else()
8   message("CMAKE_VERSION=[${CMAKE_VERSION}] is not less than [${min_ver}]")
9 endif()