summaryrefslogtreecommitdiffhomepage
path: root/cmake/opentrack-policy.cmake
blob: 5fd8647f3b0f7ad1f99081944183d3dc0ee7fe63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
include_guard(GLOBAL)

set(_policies
    CMP0020
    CMP0022
    CMP0058
    CMP0028
    CMP0042
    CMP0063
    CMP0053
    CMP0011
    CMP0054
    CMP0012
    CMP0069
    CMP0063
    CMP0074
)
foreach(k ${_policies})
    if(POLICY ${k})
        cmake_policy(SET ${k} NEW)
    endif()
endforeach()

set(CMAKE_INSTALL_MESSAGE LAZY)