NagyD / SDLPoP

An open-source port of Prince of Persia, based on the disassembly of the DOS version.
GNU General Public License v3.0
1.1k stars 141 forks source link

cmake: elif to elseif #216

Closed Ryzee119 closed 4 years ago

Ryzee119 commented 4 years ago

elif is not a valid cmake expression, (although weirdly it does seem to work is some versions of cmake)

See: https://cmake.org/cmake/help/v3.0/command/elseif.html cmake documentation have no reference to elif anywhere.

I was getting this error when cross compiling win32 version with Ubuntu

CMake Error at CMakeLists.txt:118 (elif):
  Unknown CMake command "elif".

This PR changes to elif to match the cmake documentation.