• R/O
  • SSH

libqttools: Commit

This library contains code that extends and simplifies different operations
for C++ language based programs which use Qt5 framework as well


Commit MetaInfo

Revision531f9396ffddde164034be54a21c66fea3822afa (tree)
Time2020-01-10 07:05:04
AuthorSergey Gusarov
CommiterSergey Gusarov

Log Message

Attempt to fix CMP0020 warning

Change Summary

Incremental Difference

diff -r 2ee86166713f -r 531f9396ffdd .hgsubstate
--- a/.hgsubstate Thu Jan 09 18:25:07 2020 +0300
+++ b/.hgsubstate Fri Jan 10 01:05:04 2020 +0300
@@ -1,2 +1,2 @@
1-bc940b7c65c7588f66ec2d49ba966a1623cfae4e libcpptools
1+1c0694d5cc7aa5b88b41d67440a5f614a80f39a2 libcpptools
22 06beda7c7cf3133dc256db280a0feb22b129f49f pyrepo
diff -r 2ee86166713f -r 531f9396ffdd CMakeLists.txt
--- a/CMakeLists.txt Thu Jan 09 18:25:07 2020 +0300
+++ b/CMakeLists.txt Fri Jan 10 01:05:04 2020 +0300
@@ -7,7 +7,10 @@
77 cmake_minimum_required(VERSION 2.8.11)
88
99 if (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION} VERSION_GREATER 2.8.10)
10- cmake_policy(SET CMP0020 OLD)
10+ if (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION} VERSION_GREATER_EQUAL 3.3.0)
11+ else()
12+ cmake_policy(SET CMP0020 OLD)
13+ endif()
1114 endif()
1215
1316 if (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION} VERSION_GREATER 3.0.1)
diff -r 2ee86166713f -r 531f9396ffdd cmake_clang.py
--- a/cmake_clang.py Thu Jan 09 18:25:07 2020 +0300
+++ b/cmake_clang.py Fri Jan 10 01:05:04 2020 +0300
@@ -1,4 +1,3 @@
1-
21 #!/usr/bin/env python3
32
43
diff -r 2ee86166713f -r 531f9396ffdd tests/CMakeLists.txt
--- a/tests/CMakeLists.txt Thu Jan 09 18:25:07 2020 +0300
+++ b/tests/CMakeLists.txt Fri Jan 10 01:05:04 2020 +0300
@@ -5,7 +5,12 @@
55
66 cmake_minimum_required(VERSION 2.8.11)
77
8-cmake_policy(SET CMP0020 OLD)
8+if (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION} VERSION_GREATER 2.8.10)
9+ if (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION} VERSION_GREATER_EQUAL 3.3.0)
10+ else()
11+ cmake_policy(SET CMP0020 OLD)
12+ endif()
13+endif()
914
1015 set(PROJECT_NAME qttools_tests)
1116 project(${PROJECT_NAME})
Show on old repository browser