From: Viktor Szakats Date: Thu, 26 May 2022 15:53:19 +0000 (+0000) Subject: cmake: enable curl.rc for all Windows targets X-Git-Tag: curl-7_84_0~131 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2e769766eab493ad15a74521b32aabe1f6f40f7c;p=thirdparty%2Fcurl.git 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 --- diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 6f9c5d6586..f094aa54fa 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -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()