Skip to content

Commit 562ef5f

Browse files
authored
Merge pull request #4169 from felixonmars/patch-1
Use defined variable for riscv64 in arch.cmake
2 parents 0e5d56a + 007cd83 commit 562ef5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/arch.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ if (ARM64)
135135
set(BINARY_DEFINED 1)
136136
endif ()
137137

138-
if (${ARCH} STREQUAL "riscv64")
138+
if (RISCV64)
139139
set(NO_BINARY_MODE 1)
140140
set(BINARY_DEFINED 1)
141141
endif ()

0 commit comments

Comments
 (0)