diff options
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 0ab31ddefb3..a46c0a1cc2f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -47,7 +47,7 @@ endif() cmake_minimum_required(VERSION 2.8) -if(NOT (CMAKE_VERSION VERSION_LESS 3.0)) +if(NOT (${CMAKE_VERSION} VERSION_LESS 3.0)) # keep until CMake-3.0 is min requirement cmake_policy(SET CMP0043 OLD) endif() |