Re: [cmake-developers] [PATCH] Help: Fix elseif/endif contradictions

2019-02-11 Thread Brad King via cmake-developers
On 2/11/19 2:06 PM, Juuso Linda Lapinlampi via cmake-developers wrote: > -Per legacy, the :command:`else` and :command:`elseif` commands admit > +Per legacy, the :command:`else` and :command:`endif` commands admit Thanks, applied here: https://gitlab.kitware.com/cmake/cmake/merge_requests/2950

[cmake-developers] [PATCH] Help: Fix elseif/endif contradictions

2019-02-11 Thread Juuso Linda Lapinlampi via cmake-developers
From: "Juuso \"Linda\" Lapinlampi" In CMake 3.13.x, we had this evaluation for if() conditions: if(a) elseif(b) else(a) endif(a) Since CMake 3.14.0-rc1 (commit c2efb3efcd083523a73a2a9721b7101fbfc0fe0f specifically), the sensible intention was: > "endif", "endfunction" etc: Explain that the