Browse Source

cmake: fix build

Fix the error: Unknown CMake command "elif"
hl_urbicide
Владислав Сухов 4 years ago committed by Alibek Omarov #SupportRMS
parent
commit
de65256d86
  1. 2
      cmake/LibraryNaming.cmake

2
cmake/LibraryNaming.cmake

@ -92,7 +92,7 @@ endif()
if(BUILDOS STREQUAL "android") 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 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}") set(POSTFIX "_${BUILDOS}_${BUILDARCH}")
elseif(BUILDARCH) elseif(BUILDARCH)
set(POSTFIX "_${BUILDARCH}") set(POSTFIX "_${BUILDARCH}")

Loading…
Cancel
Save