diff options
author | Brad King <brad.king@kitware.com> | 2014-03-19 17:33:00 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-03-19 17:33:00 (GMT) |
commit | cf3e87e195448af50a9b2f0ca02732756e82ff2f (patch) | |
tree | e7946c46bd4e9c0422e474082b8b208eed01c97c /Tests/CTestTestSkipReturnCode | |
parent | 8b8691adcad725e365407118d6d282994efad152 (diff) | |
download | CMake-cf3e87e195448af50a9b2f0ca02732756e82ff2f.zip CMake-cf3e87e195448af50a9b2f0ca02732756e82ff2f.tar.gz CMake-cf3e87e195448af50a9b2f0ca02732756e82ff2f.tar.bz2 |
Tests: Teach CMakeOnly.AllFindModules to tolerate a system KDE4
The FindKDE4 module (incorrectly) modifies CMAKE_MODULE_PATH on the
caller's behalf. This causes KDE4-installed find modules to be used by
the test instead of those in CMake. Teach the test to restore the
CMAKE_MODULE_PATH to its original value after each find_package call.
This ensures that the next find_package actually tests our module.
Diffstat (limited to 'Tests/CTestTestSkipReturnCode')
0 files changed, 0 insertions, 0 deletions