summaryrefslogtreecommitdiffhomepage
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-10-19 16:00:23 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-10-19 16:00:23 +0200
commit1dbae4063904354aa7c63187da242a88e0de9fc2 (patch)
tree2e7d2448f4b42db05994d459a1f68d8fe1c2f6dc /CMakeLists.txt
parent7153a0b4daa30cef7d6e721e7b2edc511a1adf71 (diff)
fix build #2
Signed-off-by: Stanislaw Halik <sthalik@misaki.pl> Reported-by: mm0zct
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f875665f..73ffec68 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,7 +1,7 @@
project(opentrack)
cmake_minimum_required(VERSION 2.8)
-if(NOT CMAKE_VERSION LESS "2.10.0")
+if(CMAKE_VERSION VERSION_GREATER "2.10.0")
cmake_policy(SET CMP0020 NEW)
endif()
set(CMAKE_MODULE_PATH "${CMAKE_MODULE_PATH}" "${CMAKE_SOURCE_DIR}/cmake/")