From e7b5708ca983cd1d805aa9452fa97c9fe7ef0803 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 17 Jun 2020 20:33:41 +0200 Subject: [PATCH] Add a TODO for CMake 3.15. --- src/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 4722c18..820cf13 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -23,7 +23,8 @@ # DEALINGS IN THE SOFTWARE. # -# On MSVC remove /W3, as we are replacing it with /W4 +# On MSVC remove /W3, as we are replacing it with /W4. Could be removed as of +# 3.15 with this: https://cmake.org/cmake/help/latest/policy/CMP0092.html if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC" OR CMAKE_CXX_SIMULATE_ID STREQUAL "MSVC") string(REPLACE "/W3" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}") endif()