summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMP0041
Commit message (Collapse)AuthorAgeFilesLines
* Tests: Fix failures when running under the default install prefix (#15566)Brad King2015-05-141-0/+3
| | | | | | | Fix test cases whose behavior differs when their source or build tree is under CMAKE_INSTALL_PREFIX by setting an install prefix under the build tree. Otherwise they may fail when run under the default install prefix (e.g. /usr/local).
* RunCMake: Remove unneeded files.Stephen Kelly2015-02-092-2/+0
| | | | | The default expectation of RunCMake tests is empty content, so there is no need to specify it.
* Tests: Simplify and document policy scopes in RunCMake.CMP* testsBrad King2014-03-061-1/+1
| | | | | Drop unnecessary NO_POLICY_SCOPE options. Document why the remaining options are necessary.
* Cygwin: Avoid legacy warnings in RunCMake.CMP004[1235] testsBrad King2014-01-281-1/+1
| | | | | | Set the minimum required version of CMake high enough to avoid the warning for CMAKE_LEGACY_CYGWIN_WIN32. The warning appears on stderr and breaks the expected output matching.
* Export: Report error on relative include with genex.Stephen Kelly2013-11-2621-0/+199
Diagnostics which check the sanity of exported include paths previously skipped over any path containing a generator expression. Introduce a policy to issue an error message in such cases. The export files created in the OLD behavior are not usable, because they contain relative paths or paths to the source or build location which are not suitable for use on installation. CMake will report an error on import.