Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmake_package_config_generate: Fix CMake warnings with CMake 3.23 #792

Merged
merged 1 commit into from
Feb 18, 2022
Merged

cmake_package_config_generate: Fix CMake warnings with CMake 3.23 #792

merged 1 commit into from
Feb 18, 2022

Commits on Feb 18, 2022

  1. 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
    Arfrever Frehtes Taifersar Arahesis authored and Arfrever Frehtes Taifersar Arahesis committed Feb 18, 2022
    Configuration menu
    Copy the full SHA
    eeb1b60 View commit details
    Browse the repository at this point in the history