Update to SystemC 3.0.1

Fix some of the deprecation warnings introduced in the new version such
as the removal of SC_HAS_PROCESS.
This commit is contained in:
2024-04-24 10:49:56 +02:00
parent cf07fb6c0a
commit db74e7549a
13 changed files with 5 additions and 24 deletions

View File

@@ -116,13 +116,10 @@ if (DRAMSYS_USE_FETCH_CONTENT)
FetchContent_Declare(
SystemCLanguage
URL https://github.com/accellera-official/systemc/archive/refs/tags/2.3.4.tar.gz
URL https://github.com/accellera-official/systemc/archive/refs/tags/3.0.1.tar.gz
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