From cdbc1919d47cc8aef02283428abf996b39b53794 Mon Sep 17 00:00:00 2001 From: Davis King Date: Sat, 6 Dec 2014 08:38:04 -0500 Subject: [PATCH] more cmake changes to avoid cmake warnings --- tools/htmlify/CMakeLists.txt | 2 +- tools/imglab/CMakeLists.txt | 2 +- tools/mltool/CMakeLists.txt | 3 +-- tools/python/CMakeLists.txt | 3 ++- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tools/htmlify/CMakeLists.txt b/tools/htmlify/CMakeLists.txt index 3ed8bea26..c84653343 100644 --- a/tools/htmlify/CMakeLists.txt +++ b/tools/htmlify/CMakeLists.txt @@ -3,7 +3,7 @@ # information about it at http://www.cmake.org # -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 2.8.4) # create a variable called target_name and set it to the string "htmlify" set (target_name htmlify) diff --git a/tools/imglab/CMakeLists.txt b/tools/imglab/CMakeLists.txt index fdadd1746..debbce2cf 100644 --- a/tools/imglab/CMakeLists.txt +++ b/tools/imglab/CMakeLists.txt @@ -3,7 +3,7 @@ # information about it at http://www.cmake.org # -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 2.8.4) # create a variable called target_name and set it to the string "imglab" set (target_name imglab) diff --git a/tools/mltool/CMakeLists.txt b/tools/mltool/CMakeLists.txt index 7f079a4b6..37e29e699 100644 --- a/tools/mltool/CMakeLists.txt +++ b/tools/mltool/CMakeLists.txt @@ -3,8 +3,7 @@ # information about it at http://www.cmake.org # -#SET(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS true) -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 2.8.4) # create a variable called target_name and set it to the string "mltool" set (target_name mltool) diff --git a/tools/python/CMakeLists.txt b/tools/python/CMakeLists.txt index 3b1e5cc95..2d9b2f757 100644 --- a/tools/python/CMakeLists.txt +++ b/tools/python/CMakeLists.txt @@ -1,5 +1,6 @@ -CMAKE_MINIMUM_REQUIRED(VERSION 2.6) +CMAKE_MINIMUM_REQUIRED(VERSION 2.8.4) + # Uncomment this to make a Python 3 compatible library instead of a Python 2 # library.