mirror of
https://github.com/monero-project/monero.git
synced 2024-11-18 00:37:43 +00:00
Merge pull request #1086
c791040
cmake: quotes around ARCH_ID string (redfish)
This commit is contained in:
commit
1db3be3e90
1 changed files with 3 additions and 3 deletions
|
@ -63,11 +63,11 @@ if (NOT ARCH OR ARCH STREQUAL "" OR ARCH STREQUAL "native" OR ARCH STREQUAL "def
|
||||||
else()
|
else()
|
||||||
set(ARCH_ID "${ARCH}")
|
set(ARCH_ID "${ARCH}")
|
||||||
endif()
|
endif()
|
||||||
string(TOLOWER ${ARCH_ID} ARM_ID)
|
string(TOLOWER "${ARCH_ID}" ARM_ID)
|
||||||
string(SUBSTRING ${ARCH_ID} 0 3 ARM_TEST)
|
string(SUBSTRING "${ARCH_ID}" 0 3 ARM_TEST)
|
||||||
if (ARM_TEST STREQUAL "arm")
|
if (ARM_TEST STREQUAL "arm")
|
||||||
set(ARM 1)
|
set(ARM 1)
|
||||||
string(SUBSTRING ${ARCH_ID} 0 5 ARM_TEST)
|
string(SUBSTRING "${ARCH_ID}" 0 5 ARM_TEST)
|
||||||
if (ARM_TEST STREQUAL "armv6")
|
if (ARM_TEST STREQUAL "armv6")
|
||||||
set(ARM6 1)
|
set(ARM6 1)
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in a new issue