-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPolicies.cmake
12 lines (12 loc) · 1 KB
/
Policies.cmake
1
2
3
4
5
6
7
8
9
10
11
12
include_guard(GLOBAL)
cmake_policy(SET CMP0002 NEW) # Logical target names must be globally unique.
cmake_policy(SET CMP0017 NEW) # Prefer files from the CMake module directory when including from there.
cmake_policy(SET CMP0028 NEW) # Double colon in target name means ALIAS or IMPORTED target.
cmake_policy(SET CMP0048 NEW) # The project() command manages VERSION variables.
cmake_policy(SET CMP0054 NEW) # Only interpret if() arguments as variables or keywords when unquoted.
cmake_policy(SET CMP0076 NEW) # The target_sources() command converts relative paths to absolute.
cmake_policy(SET CMP0077 NEW) # option() honors normal variables.
cmake_policy(SET CMP0083 NEW) # To control generation of Position Independent Executable (PIE) or not, some flags are required at link time.
cmake_policy(SET CMP0110 NEW) # add_test() supports arbitrary characters in test names.
cmake_policy(SET CMP0115 NEW) # Source file extensions must be explicit.
cmake_policy(SET CMP0120 NEW) # The WriteCompilerDetectionHeader module is removed.