This library contains code that extends and simplifies different operations
for C language based programs.
Revisión | dcb8282177c8f4882fe93906645b1bedb392d742 (tree) |
---|---|
Tiempo | 2017-10-30 01:02:06 |
Autor | s.gusarov |
Commiter | s.gusarov |
Applied new cmake CMP0054 policy for all the project
@@ -1,4 +1,4 @@ | ||
1 | -9344d5bff9f4ec87046c68f82ef31548c5c3b8f8 cmake/cmake_tools | |
1 | +ca3f8f1f3ab0829b63f0ebce53cd6b2af2fe6b8d cmake/cmake_tools | |
2 | 2 | 5013d507802becd2c434d4dbdafad45c3da5ef23 include/ctools/std/msinttypes |
3 | 3 | d6a263a39f345f7ebb8d0865b452104bfad4b198 pyrepo |
4 | 4 | 8723d50f0e345fb43c5448d2bdabe6766ca9286d tests/unity |
@@ -5,6 +5,10 @@ | ||
5 | 5 | |
6 | 6 | cmake_minimum_required(VERSION 2.8.3) |
7 | 7 | |
8 | +if (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION} VERSION_GREATER 3.1.2) | |
9 | + cmake_policy(SET CMP0054 NEW) | |
10 | +endif() | |
11 | + | |
8 | 12 | # Fix warnings about manually set variables which are unused. |
9 | 13 | # Typically these variables appear in this project from other cmake files |
10 | 14 | set(CT_IGNORE_ME__ "${CMAKE_CXX_COMPILER}${QT_QMAKE_EXECUTABLE}") |