mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-02-05 03:24:39 +00:00
cmake: throw an error if ARM isn't detected
This commit is contained in:
parent
13e17024cc
commit
043e91866f
@ -67,6 +67,8 @@ elseif(XASH_ARM)
|
|||||||
set(BUILDARCH "${BUILDARCH}5")
|
set(BUILDARCH "${BUILDARCH}5")
|
||||||
elseif(XASH_ARMv4)
|
elseif(XASH_ARMv4)
|
||||||
set(BUILDARCH "${BUILDARCH}4")
|
set(BUILDARCH "${BUILDARCH}4")
|
||||||
|
else()
|
||||||
|
message(SEND_ERROR "Unknown ARM")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(XASH_ARM_HARDFP)
|
if(XASH_ARM_HARDFP)
|
||||||
@ -86,7 +88,9 @@ else()
|
|||||||
message(SEND_ERROR "Place your architecture name here! If this is a mistake, try to fix conditions above and report a bug")
|
message(SEND_ERROR "Place your architecture name here! If this is a mistake, try to fix conditions above and report a bug")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(BUILDOS AND BUILDARCH)
|
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)
|
||||||
set(POSTFIX "_${BUILDOS}_${BUILDARCH}")
|
set(POSTFIX "_${BUILDOS}_${BUILDARCH}")
|
||||||
elseif(BUILDARCH)
|
elseif(BUILDARCH)
|
||||||
set(POSTFIX "_${BUILDARCH}")
|
set(POSTFIX "_${BUILDARCH}")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user