| 1 |
# @HEADER |
| 2 |
# ***************************************************************************** |
| 3 |
# TriBITS: Tribal Build, Integrate, and Test System |
| 4 |
# |
| 5 |
# Copyright 2013-2016 NTESS and the TriBITS contributors. |
| 6 |
# SPDX-License-Identifier: BSD-3-Clause |
| 7 |
# ***************************************************************************** |
| 8 |
# @HEADER |
| 9 |
|
| 10 |
# Define policies for CMake |
| 11 |
# It is assumed that the project has already called CMAKE_MINIMUM_REQUIRED. |
| 12 |
cmake_policy(SET CMP0003 NEW) # Don't split up full lib paths to linker args |
| 13 |
cmake_policy(SET CMP0007 NEW) # Don't ignore empty list items |
| 14 |
cmake_policy(SET CMP0053 NEW) # Make var references much faster |
| 15 |
cmake_policy(SET CMP0054 NEW) # Avoid quoted strings lookup variables |
| 16 |
cmake_policy(SET CMP0057 NEW) # Support if ( ... IN_LIST ... ) |
| 17 |
cmake_policy(SET CMP0082 NEW) # Install rules follow order install() called in subdirs |