cmake: do not add libcurl.rc to the static libcurl library
Fixes: https://github.com/curl/curl/pull/8918#issuecomment-1138263855 Reviewed-By: Karlson2k@users.noreply.github.com Closes #8923
This commit is contained in:
parent
435f395f3f
commit
a77d14d22a
@ -40,7 +40,7 @@ list(APPEND HHEADERS
|
||||
${CMAKE_CURRENT_BINARY_DIR}/curl_config.h
|
||||
)
|
||||
|
||||
if(WIN32)
|
||||
if(WIN32 AND NOT CURL_STATICLIB)
|
||||
list(APPEND CSOURCES libcurl.rc)
|
||||
endif()
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user