Skip to content

Commit 7a613ce

Browse files
committed
build: remove assembly detection when explicitly disabled
1 parent 5817885 commit 7a613ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ if(SECP256K1_ASM STREQUAL "arm32")
9999
else()
100100
message(FATAL_ERROR "ARM32 assembly requested but not available.")
101101
endif()
102-
elseif(SECP256K1_ASM)
102+
elseif(NOT SECP256K1_ASM STREQUAL "OFF")
103103
include(CheckX86_64Assembly)
104104
check_x86_64_assembly()
105105
if(HAVE_X86_64_ASM)

0 commit comments

Comments
 (0)