]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
cmake: enable curl.rc for all Windows targets
authorViktor Szakats <commit@vsz.me>
Thu, 26 May 2022 15:53:19 +0000 (15:53 +0000)
committerViktor Szakats <commit@vsz.me>
Thu, 26 May 2022 15:53:19 +0000 (15:53 +0000)
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

src/CMakeLists.txt

index 6f9c5d65868d39595451cb80bde611c396d5a67c..f094aa54faebbe4663172c6156ef38c4b96b48d4 100644 (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()