mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-01-13 08:27:57 +00:00
cmake: fix build
Fix the error: Unknown CMake command "elif"
This commit is contained in:
parent
814395c255
commit
de65256d86
@ -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}")
|
||||
|
Loading…
Reference in New Issue
Block a user