cmake compatibility fix
*sigh* git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1392 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
@ -1,8 +1,10 @@
|
||||
# cmake 2.6 might suffice, but we don't test it (even Debian stable has 2.8.2)
|
||||
cmake_minimum_required(VERSION 2.8.2)
|
||||
# system cmake modules take precedence over those in CMAKE_MODULE_PATH
|
||||
# (makes cmake 2.8.7 happy)
|
||||
cmake_policy(SET CMP0017 NEW)
|
||||
if("${CMAKE_VERSION}" VERSION_GREATER 2.8.3)
|
||||
# system cmake modules take precedence over those in CMAKE_MODULE_PATH
|
||||
# (makes cmake 2.8.4 and newer)
|
||||
cmake_policy(SET CMP0017 NEW)
|
||||
endif("${CMAKE_VERSION}" VERSION_GREATER 2.8.3)
|
||||
|
||||
PROJECT(Fail*)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user