Correct syntax to run CMake built-in command-line tools is `cmake -E`:
https://cmake.org/cmake/help/v3.23/manual/cmake.1.html#run-a-command-line-tool
This test was mistakenly using `cmake env ... cmake ...`, where `env` and second `cmake`
were interpreted as paths (of source directory or build directory), resulting
in "Ignoring extra path from command line" CMake warnings with CMake 3.23:
|
||
|---|---|---|
| .. | ||
| DetermineGflagsNamespace.cmake | ||
| FindUnwind.cmake | ||
| GetCacheVariables.cmake | ||
| RunCleanerTest1.cmake | ||
| RunCleanerTest2.cmake | ||
| RunCleanerTest3.cmake | ||
| TestInitPackageConfig.cmake | ||
| TestPackageConfig.cmake | ||