From a62c6e666996728e34168f1f1fd40453ecf81ff0 Mon Sep 17 00:00:00 2001 From: Alexander Vieth Date: Tue, 19 Nov 2024 10:49:00 +0100 Subject: [PATCH] Update CMakeLists.txt (#721) --- ManiVault/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ManiVault/CMakeLists.txt b/ManiVault/CMakeLists.txt index ec94a1672..11e9a4ae5 100644 --- a/ManiVault/CMakeLists.txt +++ b/ManiVault/CMakeLists.txt @@ -24,7 +24,7 @@ set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_CXX_EXTENSIONS OFF) -if (NOT (MSVC AND MSVC_VERSION LESS_EQUAL 1929)) +if (NOT (CMAKE_CXX_COMPILER_ID STREQUAL "MSVC" AND MSVC_VERSION LESS 1930)) set(CMAKE_C_STANDARD 17) set(CMAKE_C_STANDARD_REQUIRED ON) set(CMAKE_C_EXTENSIONS OFF)