mirror of
https://github.com/curl/curl.git
synced 2024-12-21 06:50:10 +08: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
@ -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…
Reference in New Issue
Block a user