mirror of
https://github.com/curl/curl.git
synced 2026-06-03 13:44:16 +03:00
cmake: replace an MSVC_VERSION with MSVC
Where the actual version is not relevant.
Follow-up to ce81aeb877
Closes #14410
This commit is contained in:
parent
72ae0d86a4
commit
67d5e3624b
1 changed files with 1 additions and 1 deletions
|
|
@ -1607,7 +1607,7 @@ if(MSVC)
|
|||
endif()
|
||||
|
||||
if(CURL_WERROR)
|
||||
if(MSVC_VERSION)
|
||||
if(MSVC)
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /WX")
|
||||
else()
|
||||
# This assumes clang or gcc style options
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue