diff --git a/CMakeLists.txt b/CMakeLists.txt index b3039c0e..93aff663 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -120,6 +120,9 @@ if (DRAMSYS_USE_FETCH_CONTENT) OVERRIDE_FIND_PACKAGE ) + # TODO: remove with SystemC 3.0 + set(CMAKE_CXX_STANDARD ${CMAKE_CXX_STANDARD} CACHE STRING "") + FetchContent_MakeAvailable(SystemCLanguage) # Set include directories to SYSTEM to suppress warnings