diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 9ec81a3..4a78c25 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,10 @@ project(libcrashreporter-qt) -cmake_minimum_required(VERSION 2.8.11) -cmake_policy(SET CMP0020 OLD) +cmake_minimum_required(VERSION 3.1) + +if(POLICY CMP0071) + cmake_policy(SET CMP0071 NEW) +endif() + if((CMAKE_COMPILER_IS_GNUCXX AND CMAKE_CXX_FLAGS) OR (UNIX AND NOT APPLE AND CMAKE_CXX_COMPILER_ID MATCHES "Clang")) |