CMakeLists.txt 305 Bytes
Newer Older
1
set(CMAKE_LEGACY_CYGWIN_WIN32 0)
2 3 4
cmake_minimum_required(VERSION 2.8 FATAL_ERROR)
project(AMDiS)

5 6
if (${CMAKE_VERSION} VERSION_GREATER "3.2")
  include(${AMDiS_SOURCE_DIR}/cmake3/CMakeLists.txt)
7
else ()
8 9
  # Fallback to classical CMakeLists file
  include(${AMDiS_SOURCE_DIR}/cmake/CMakeLists.txt)
10
endif ()