File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -117,9 +117,12 @@ if(BUILD_SHARED_LIBS AND WIN32 AND HTTPLIB_COMPILE)
117
117
set (CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON )
118
118
endif ()
119
119
120
- if ( CMAKE_SYSTEM_NAME MATCHES "Windows" AND ${CMAKE_SYSTEM_VERSION} VERSION_LESS "10.0.0" )
120
+ if (CMAKE_SYSTEM_NAME MATCHES "Windows" AND ${CMAKE_SYSTEM_VERSION} VERSION_LESS "10.0.0" )
121
121
message (SEND_ERROR "Windows ${CMAKE_SYSTEM_VERSION} or lower is not supported. Please use Windows 10 or later." )
122
122
endif ()
123
+ if (CMAKE_SIZEOF_VOID_P LESS 8 )
124
+ message (WARNING "Pointer size ${CMAKE_SIZEOF_VOID_P} is not supported. Please use a 64-bit compiler." )
125
+ endif ()
123
126
124
127
# Set some variables that are used in-tree and while building based on our options
125
128
set (HTTPLIB_IS_COMPILED ${HTTPLIB_COMPILE} )
You can’t perform that action at this time.
0 commit comments