From eee04e897b3158bf0da4e813c968b225a6318b2b Mon Sep 17 00:00:00 2001 From: Matthias Jung Date: Wed, 26 Feb 2020 12:20:22 +0100 Subject: [PATCH] Small syntactic change --- .gitmodules | 3 +++ DRAMSys/CMakeLists.txt | 2 +- DRAMSys/library/src/common/third_party/systemc | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) create mode 160000 DRAMSys/library/src/common/third_party/systemc 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