From 90bad5ae891047ade59ace8127a341f5c17142c9 Mon Sep 17 00:00:00 2001 From: Anonymous Maarten Date: Tue, 24 Dec 2024 01:10:39 +0100 Subject: [PATCH] MSVC fixed for real now? --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 75847202..94914ef5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -517,7 +517,7 @@ if (MSVC) # Visual Studio 2017 version 15.7 needs "/Zc:__cplusplus" for __cplusplus if (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL "19.14.26428") foreach(tgt IN LISTS lego1_interface_targets) - target_compile_options(${tgt} PRIVATE "-Zc:__cplusplus") + target_compile_options(${tgt} INTERFACE "-Zc:__cplusplus") endforeach() if (TARGET isle) target_compile_options(isle PRIVATE "-Zc:__cplusplus")