Shatur / neovim-cmake

CMake integration for Neovim
GNU General Public License v3.0
87 stars 19 forks source link

Fix argument order for CMake build command #34

Closed AlexAUT closed 2 years ago

AlexAUT commented 2 years ago

It looks like in a recent cmake version (I have 3.23.1) the order of arguments for the --build comand is now important.

Building with cmake --parallel --build -b someDir --target someTarget will always fail because --parallel has to be placed after --build.

I am not familiar with lua but I tested the change and it seems to work, I just reversed the order of the concatination.

AlexAUT commented 2 years ago

Changed and applied to all other --build commands

Shatur commented 2 years ago

Thanks!