CMP0021.rst 799 B

1234567891011121314151617181920
  1. CMP0021
  2. -------
  3. Fatal error on relative paths in INCLUDE_DIRECTORIES target property.
  4. CMake 2.8.10.2 and lower allowed the INCLUDE_DIRECTORIES target
  5. property to contain relative paths. The base path for such relative
  6. entries is not well defined. CMake 2.8.12 issues a FATAL_ERROR if the
  7. INCLUDE_DIRECTORIES property contains a relative path.
  8. The OLD behavior for this policy is not to warn about relative paths
  9. in the INCLUDE_DIRECTORIES target property. The NEW behavior for this
  10. policy is to issue a FATAL_ERROR if INCLUDE_DIRECTORIES contains a
  11. relative path.
  12. This policy was introduced in CMake version 2.8.12. CMake version
  13. |release| warns when the policy is not set and uses OLD behavior. Use
  14. the cmake_policy command to set it to OLD or NEW explicitly.
  15. .. include:: DEPRECATED.txt