diff --git a/.gitmodules b/.gitmodules index 14883ec7..cd634d8d 100644 --- a/.gitmodules +++ b/.gitmodules @@ -8,3 +8,6 @@ [submodule "DRAMSys/unitTests/googletest"] path = DRAMSys/unitTests/googletest url = https://github.com/google/googletest.git +[submodule "DRAMSys/library/src/common/third_party/systemc"] + path = DRAMSys/library/src/common/third_party/systemc + url = https://github.com/accellera-official/systemc.git diff --git a/DRAMSys/CMakeLists.txt b/DRAMSys/CMakeLists.txt index b796dcb6..3212c071 100644 --- a/DRAMSys/CMakeLists.txt +++ b/DRAMSys/CMakeLists.txt @@ -7,7 +7,7 @@ project(DRAMSys) find_package(SystemCLanguage CONFIG REQUIRED PATHS "/opt/systemc/lib/cmake") # Add sqlite3 Dependency: -FIND_LIBRARY(SQLITE3_LIBRARY NAMES sqlite3) +find_library(SQLITE3_LIBRARY NAMES sqlite3) # Add DRAMSysLibrary: add_subdirectory(library) diff --git a/DRAMSys/library/src/common/third_party/systemc b/DRAMSys/library/src/common/third_party/systemc new file mode 160000 index 00000000..60418250 --- /dev/null +++ b/DRAMSys/library/src/common/third_party/systemc @@ -0,0 +1 @@ +Subproject commit 604182509559ae42c34e878f508bae7c18abbbd6