Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmake_package_config_generate: Fix CMake warnings with CMake 3.23
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: https://gitlab.kitware.com/cmake/cmake/-/commit/eacf1f879b0933509efbd4fb4d6d72ce99412aa7
- Loading branch information