Browse Source

set minimum version and policy for IPO

Daniel Marth 6 years ago
parent
commit
b7829e612e
1 changed files with 2 additions and 1 deletions
  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)