Skip to content
Discussion options

You must be logged in to vote

never mind. figured it out. it turns out one has to install ninja via msys2 before one can set -GNinja with cmake.

although cmake -G lists Ninja, it does not mean the system has ninja system installed, it just means it can work with it. this is why I thought all generators in the printed list have already been installed.

I managed to use the setting from
https://github.com/scivision/rpn-calc-fortran/blob/main/.github/workflows/ci_cmake.yml

specifically

    - uses: msys2/setup-msys2@v2
      with:
        update: true
        install: >-
          mingw-w64-x86_64-ninja

    - name: Put MSYS2_MinGW64 on PATH
      run: echo "D:/a/_temp/msys64/mingw64/bin" >> $GITHUB_PATH

presumably, one c…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by fangq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant