| commit | 04deda1d2a750fe609f3f2ab02e3068e1d152fb3 | [log] [tgz] |
|---|---|---|
| author | friendlyanon <friendlyanon_@hotmail.com> | Tue Nov 23 20:06:47 2021 +0100 |
| committer | Brad King <brad.king@kitware.com> | Wed Dec 08 11:36:43 2021 -0500 |
| tree | 6bb02e1654c5f208fe436a4f2a58a94be93fb82f | |
| parent | 642238b3021ccb1923e57563bb61e0abb0111c84 [diff] |
CTest: Extract common implementation of add_subdirectory and subdirs The two functions have basically the same functionality in a CTest context, however the add_subdirectory implementation was missing code for changing the current working directory similarly to how it was done for subdirs. This commit extracts the common code and also fixes that bug. Issue: #22921