From 1ece5579f022fea17fd98eb4e2d124d291a9409e Mon Sep 17 00:00:00 2001 From: Lars Bilke <lars.bilke@ufz.de> Date: Wed, 28 Aug 2019 19:59:59 +0200 Subject: [PATCH] [CMake] Ninja also does not need this setting. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4c75ae105c6..d998bdb9fc5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,7 +6,7 @@ cmake_policy(SET CMP0054 NEW) cmake_policy(SET CMP0071 NEW) cmake_policy(SET CMP0074 NEW) -if(MSVC) +if(MSVC AND NOT ${CMAKE_GENERATOR} STREQUAL Ninja) # Force 64-bit VS compiler set(CMAKE_GENERATOR_TOOLSET host=x64) endif() -- GitLab