Closed Ryzee119 closed 4 years ago
elif is not a valid cmake expression, (although weirdly it does seem to work is some versions of cmake)
elif
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.
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
This PR changes to
elif
to match the cmake documentation.