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

Turn off CMake compile launcher when using zig #13748

Merged
merged 1 commit into from
Oct 4, 2024

Commits on Oct 4, 2024

  1. Turn off CMake compile launcher when using zig

    This setting is for things like `ccache`, but if Meson treats zig that
    way, then it will expand the second argument to become:
    ```
    /usr/bin/zig /usr/lib64/ccache/cc
    ```
    in CMake and `/usr/lib64/ccache/cc` is _not_ an argument to `zig`.
    
    If you run
    ```
    $ CC='zig cc' CXX='zig c++' ./meson.py setup 'test cases/cmake/1 basic' build
    ```
    then CMake will fail to compile a "simple test program" and setup
    fails.
    QuLogic committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    26cea27 View commit details
    Browse the repository at this point in the history