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)