From ef4f91ae5af4272507e2a1793a29b4cd32005509 Mon Sep 17 00:00:00 2001 From: Patrick Stewart Date: Fri, 28 Aug 2020 05:01:47 +0100 Subject: [PATCH] CMake: Unconditionally require C++11 or greater (#2522) --- verilator-config.cmake.in | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/verilator-config.cmake.in b/verilator-config.cmake.in index b13b32301..68c187e41 100644 --- a/verilator-config.cmake.in +++ b/verilator-config.cmake.in @@ -312,12 +312,7 @@ function(verilate TARGET) "$<$>:${VERILATOR_MT_CFLAGS}>" ) - # SystemC requires the C++ version to match the library version, avoid setting anything here - set(GEN_THREADED $>) - set(GEN_SYSTEMC $>) - target_compile_features(${TARGET} PRIVATE - $<$>:cxx_std_11> - ) + target_compile_features(${TARGET} PRIVATE cxx_std_11) endfunction() function(_verilator_find_systemc)