cmake: enable curl.rc for all Windows targets

Before this patch, it was only enabled for MSVC. This syncs this
configuration with libcurl.rc, which was already included with
every Windows compiler.

Closes #8918
This commit is contained in:
Viktor Szakats 2022-05-26 15:53:19 +00:00
parent a01e84300e
commit 2e769766ea
No known key found for this signature in database
GPG Key ID: B5ABD165E2AEF201

View File

@ -57,7 +57,7 @@ endif()
transform_makefile_inc("Makefile.inc" "${CMAKE_CURRENT_BINARY_DIR}/Makefile.inc.cmake")
include(${CMAKE_CURRENT_BINARY_DIR}/Makefile.inc.cmake)
if(MSVC)
if(WIN32)
list(APPEND CURL_FILES curl.rc)
endif()