mirror of
https://github.com/curl/curl.git
synced 2026-07-16 04:57:16 +03:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue