diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2023-04-07 22:31:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-07 22:31:04 +0200 |
commit | d4398f40214fb6175e2bff4c5823e0e6ca13fbda (patch) | |
tree | 4a30a5fbe7d758f8693897af93ece154f90ae606 /src | |
parent | 2d78e656b715119ca11d131a1a932f22f1b4ad36 (diff) | |
download | rneovim-d4398f40214fb6175e2bff4c5823e0e6ca13fbda.tar.gz rneovim-d4398f40214fb6175e2bff4c5823e0e6ca13fbda.tar.bz2 rneovim-d4398f40214fb6175e2bff4c5823e0e6ca13fbda.zip |
ci: don't automatically enable -Werror on CI environments
This catches downstream consumers of neovim off guard when using neovim in an
esoteric environment not tested in our own CI.
Closes https://github.com/neovim/neovim/issues/22932
Diffstat (limited to 'src')
-rwxr-xr-x | src/nvim/CMakeLists.txt | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/nvim/CMakeLists.txt b/src/nvim/CMakeLists.txt index 9695c64889..6fa99db29f 100755 --- a/src/nvim/CMakeLists.txt +++ b/src/nvim/CMakeLists.txt @@ -146,11 +146,7 @@ if(HAS_DIAG_COLOR_FLAG) endif() endif() -if($ENV{CI}) - option(CI_BUILD "CI, extra flags will be set" ON) -else() - option(CI_BUILD "CI, extra flags will be set" OFF) -endif() +option(CI_BUILD "CI, extra flags will be set" OFF) if(CI_BUILD) message(STATUS "CI build enabled") if(MSVC) |