mirror of
https://github.com/pocoproject/poco.git
synced 2025-04-23 00:48:52 +02:00
fix(cmake): MSVC does not properly recognize std version #3665
This commit is contained in:
parent
adec31e6a8
commit
474dbac0c0
@ -82,6 +82,7 @@ if(MSVC)
|
|||||||
if(POCO_SANITIZE_ASAN)
|
if(POCO_SANITIZE_ASAN)
|
||||||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /fsanitize=address")
|
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /fsanitize=address")
|
||||||
endif()
|
endif()
|
||||||
|
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /Zc:__cplusplus")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
option(ENABLE_NETSSL_WIN "Enable NetSSL Windows" OFF)
|
option(ENABLE_NETSSL_WIN "Enable NetSSL Windows" OFF)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user