Skip to content

Commit 6212700

Browse files
committed
Update openssl cmake, disable 32bit system
1 parent 6a84233 commit 6212700

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

third_party/openssl/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1203,6 +1203,10 @@ target_compile_definitions(ssl INTERFACE -DOPENSSL_NO_ENGINE)
12031203
# target_compile_definitions(crypto PUBLIC -DTHIRTY_TWO_BIT)
12041204
#endif()
12051205

1206+
if(CMAKE_SIZEOF_VOID_P EQUAL 4)
1207+
message(FATAL_ERROR "32-bit builds are not supported !!!")
1208+
endif()
1209+
12061210
if (APPLE)
12071211
target_compile_definitions(crypto PRIVATE -DASYNC_NULL)
12081212
endif()

0 commit comments

Comments
 (0)