2
0
mirror of https://github.com/FWGS/hlsdk-xash3d synced 2024-11-22 01:47:45 +01:00

cmake: fix build

Fix the error: Unknown CMake command "elif"
This commit is contained in:
Владислав Сухов 2021-05-26 23:13:43 +06:00 committed by Alibek Omarov #SupportRMS
parent 814395c255
commit de65256d86

View File

@ -92,7 +92,7 @@ endif()
if(BUILDOS STREQUAL "android")
set(POSTFIX "") # force disable for Android, as Android ports aren't distributed in normal way and doesn't follow library naming
elif(BUILDOS AND BUILDARCH)
elseif(BUILDOS AND BUILDARCH)
set(POSTFIX "_${BUILDOS}_${BUILDARCH}")
elseif(BUILDARCH)
set(POSTFIX "_${BUILDARCH}")