static link libpthread on win32
This commit is contained in:
@@ -28,9 +28,15 @@ if (ENABLE_ASAN)
|
||||
message("asan is on. if have any problems, disable it.")
|
||||
endif ()
|
||||
|
||||
if (WIN32)
|
||||
add_link_options(
|
||||
-static
|
||||
)
|
||||
endif ()
|
||||
|
||||
# For CURL
|
||||
set(BUILD_STATIC_LIBS ON)
|
||||
if(WIN32)
|
||||
if (WIN32)
|
||||
set(CURL_USE_SCHANNEL ON)
|
||||
endif ()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user