diff options
author | Adam <Adam@anope.org> | 2014-12-19 18:55:50 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2014-12-19 18:55:50 -0500 |
commit | 2ad697898f0f738a304a7e6620397e55bf7ad02e (patch) | |
tree | 37ae6fa24a0326764fd7a312eb472f1e3ad5d53f /CMakeLists.txt | |
parent | 7213413f8b5c68a99f769facb93acfc3fc4ceb4e (diff) |
Disable CMP0026 warnings on cmake 3
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index f1fbb1bb1..bef3215a6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,6 +2,7 @@ cmake_minimum_required(VERSION 2.4 FATAL_ERROR) if(COMMAND cmake_policy) cmake_policy(SET CMP0003 NEW) + cmake_policy(SET CMP0026 OLD) endif(COMMAND cmake_policy) # If the Source dir and the Binary dir are the same, we are building in-source, which we will disallow due to Autotools being there (but only on non-Windows) |