diff options
author | Johnathan Corgan <johnathan@corganlabs.com> | 2016-11-27 14:38:38 -0800 |
---|---|---|
committer | Johnathan Corgan <johnathan@corganlabs.com> | 2016-11-27 14:38:38 -0800 |
commit | 521729b2ccb483cbccf83fb23ffbdecbb68ad8df (patch) | |
tree | c767b47fb7d280828aa92ff4a3704a9ee0151e0d /gr-utils/python/modtool/gr-newmod | |
parent | e28e7d0ddc46ebe2a70e67420f243b0f5eedb281 (diff) | |
parent | db1a0a96785577c20dd254e6825eac050cf4d59b (diff) |
Merge branch 'master' into next
Diffstat (limited to 'gr-utils/python/modtool/gr-newmod')
-rw-r--r-- | gr-utils/python/modtool/gr-newmod/CMakeLists.txt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/gr-utils/python/modtool/gr-newmod/CMakeLists.txt b/gr-utils/python/modtool/gr-newmod/CMakeLists.txt index bde9dc0c0f..3f316a78b4 100644 --- a/gr-utils/python/modtool/gr-newmod/CMakeLists.txt +++ b/gr-utils/python/modtool/gr-newmod/CMakeLists.txt @@ -46,6 +46,23 @@ set(VERSION_INFO_API_COMPAT 0) set(VERSION_INFO_MINOR_VERSION 0) set(VERSION_INFO_MAINT_VERSION git) +# Set cmake policies. +# This will suppress developer warnings during the cmake process that can occur +# if a newer cmake version than the minimum is used. + +if(POLICY CMP0026) + cmake_policy(SET CMP0026 OLD) +endif() +if(POLICY CMP0043) + cmake_policy(SET CMP0043 OLD) +endif() +if(POLICY CMP0045) + cmake_policy(SET CMP0045 OLD) +endif() +if(POLICY CMP0046) + cmake_policy(SET CMP0046 OLD) +endif() + ######################################################################## # Compiler specific setup ######################################################################## |