Fix cmake policy warning
authorRoland Schulz <roland.schulz@intel.com>
Fri, 1 Feb 2019 01:43:05 +0000 (17:43 -0800)
committerMark Abraham <mark.j.abraham@gmail.com>
Mon, 4 Feb 2019 11:29:35 +0000 (12:29 +0100)
Change-Id: I9cb247606b08cdace7880fd42b987f129c8f8dc6

CMakeLists.txt

index f8f80dd7284559adce5d11a63725c09b209d790e..1ecdc6da9b3a1a83486d529db3e2e0dbff5404ab 100644 (file)
@@ -33,6 +33,9 @@
 # the research papers on the package. Check out http://www.gromacs.org.
 
 cmake_minimum_required(VERSION 3.9.6)
+if(POLICY CMP0074) #3.12
+    cmake_policy(SET CMP0074 NEW)
+endif()
 
 # CMake modules/macros are in a subdirectory to keep this file cleaner
 # This needs to be set before project() in order to pick up toolchain files