Skip to content
Snippets Groups Projects
Commit 69ffa1bf authored by vahrenkamp's avatar vahrenkamp
Browse files

fixed cmake version check (greater or equal 2.8.12)

git-svn-id: http://svn.code.sf.net/p/simox/code/trunk@458 042f3d55-54a8-47e9-b7fb-15903f145c44
parent 831fdde5
No related branches found
No related tags found
No related merge requests found
PROJECT(Simox)
cmake_minimum_required(VERSION 2.6)
if("${CMAKE_VERSION}" VERSION_GREATER 2.8.11)
if(NOT ("${CMAKE_VERSION}" VERSION_LESS 2.8.12))
cmake_policy(SET CMP0022 OLD) # avoid INTERFACE_LINK_LIBRARIES warninss
ENDIF()
......
......@@ -5,7 +5,7 @@ MESSAGE (STATUS "\n ***** CONFIGURING Simox project VirtualRobot *****")
CMAKE_MINIMUM_REQUIRED(VERSION 2.6.2)
CMAKE_POLICY(VERSION 2.6)
if("${CMAKE_VERSION}" VERSION_GREATER 2.8.11)
if(NOT ("${CMAKE_VERSION}" VERSION_LESS 2.8.12))
cmake_policy(SET CMP0022 OLD) # avoid INTERFACE_LINK_LIBRARIES warninss
ENDIF()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment