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:
Viktor Szakats 2022-05-26 15:54:47 +00:00
parent 435f395f3f
commit a77d14d22a
No known key found for this signature in database
GPG Key ID: B5ABD165E2AEF201

View File

@ -40,7 +40,7 @@ list(APPEND HHEADERS
${CMAKE_CURRENT_BINARY_DIR}/curl_config.h ${CMAKE_CURRENT_BINARY_DIR}/curl_config.h
) )
if(WIN32) if(WIN32 AND NOT CURL_STATICLIB)
list(APPEND CSOURCES libcurl.rc) list(APPEND CSOURCES libcurl.rc)
endif() endif()