From 9718d88e50f30dcbb7f99a196150472b39e66885 Mon Sep 17 00:00:00 2001 From: Marius Kintel Date: Thu, 20 Oct 2011 16:43:49 +0200 Subject: bugfix: cmake version check was broken diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 36021c0..22d4f96 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 2.8) -if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION}" GREATER 2.8.3) +if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION}" VERSION_GREATER 2.8.3) # Explicitly use new include policy to avoid globally shadowing included modules # http://www.cmake.org/cmake/help/cmake-2-8-docs.html#policy:CMP0017 cmake_policy(SET CMP0017 NEW) -- cgit v0.10.1