From: Roland Schulz Date: Fri, 1 Feb 2019 01:43:05 +0000 (-0800) Subject: Fix cmake policy warning X-Git-Url: http://biod.pnpi.spb.ru/gitweb/?a=commitdiff_plain;h=7c8933ad8ab74df60d607fcfdb2fa4852bac9b87;p=alexxy%2Fgromacs.git Fix cmake policy warning Change-Id: I9cb247606b08cdace7880fd42b987f129c8f8dc6 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index f8f80dd728..1ecdc6da9b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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