Explorar o código

set minimum version and policy for IPO

Daniel Marth %!s(int64=7) %!d(string=hai) anos
pai
achega
b7829e612e
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      CMakeLists.txt

+ 2 - 1
CMakeLists.txt

@@ -1,4 +1,5 @@
-cmake_minimum_required(VERSION 2.8)
+cmake_minimum_required(VERSION 3.0.0)
+cmake_policy(SET CMP0069 NEW)
 
 project(HDF4CPP LANGUAGES CXX)