From ce133e5add2732511365845a8749674723efce10 Mon Sep 17 00:00:00 2001 From: RichardTea <31507749+RichardTea@users.noreply.github.com> Date: Fri, 17 Jul 2020 11:58:17 +0100 Subject: [PATCH] Set CMake policy CMP0092 Disable cmake's automatic /W3 for MSVC --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6b350f6e3..5c1a697ee 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -35,6 +35,7 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #---------------------------------------------------------------------- SET(CMAKE_POLICY_DEFAULT_CMP0074 NEW) +cmake_policy(SET CMP0092 NEW) CMAKE_MINIMUM_REQUIRED( VERSION 3.0 )