cmake_minimum_required(VERSION 2.8 FATAL_ERROR)project(AMDiS)if(USE_NEW_CMAKE AND ${CMAKE_VERSION} VERSION_GREATER "3.0")# Experimental implementation of new CMakeLists.txt# Can be selected by calling cmake -DUSE_NEW_CMAKE=ON .# Use only if you know what you are doing :-)include(${AMDiS_SOURCE_DIR}/cmake3/CMakeLists_3.0.txt)else()# By defualt the classical CMakeLists file ist usedinclude(${AMDiS_SOURCE_DIR}/cmake/CMakeLists_2.8.txt)endif()