From 0e530dff852c63161a1fef8d8656036ed85d364d Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Sun, 2 Oct 2022 03:12:33 +0100 Subject: [PATCH] Add uthash. --- .gitmodules | 3 +++ 3rdparty/uthash | 1 + CMakeLists.txt | 2 ++ 3 files changed, 6 insertions(+) create mode 160000 3rdparty/uthash diff --git a/.gitmodules b/.gitmodules index 659f80d..6a132a5 100644 --- a/.gitmodules +++ b/.gitmodules @@ -4,3 +4,6 @@ [submodule "3rdparty/flac"] path = 3rdparty/flac url = https://github.com/claunia/flac +[submodule "3rdparty/uthash"] + path = 3rdparty/uthash + url = https://github.com/troydhanson/uthash diff --git a/3rdparty/uthash b/3rdparty/uthash new file mode 160000 index 0000000..4d01591 --- /dev/null +++ b/3rdparty/uthash @@ -0,0 +1 @@ +Subproject commit 4d01591ed9b67ff153410d0f0cfa47f51b735eb4 diff --git a/CMakeLists.txt b/CMakeLists.txt index 3b11fb9..961f6b3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -153,4 +153,6 @@ elseif(OpenSSL_FOUND) TARGET_LINK_LIBRARIES_WHOLE_ARCHIVE(aaruformat ${OPENSSL_CRYPTO_LIBRARY}) endif() +include_directories(include 3rdparty/uthash/src) + add_subdirectory(tests) \ No newline at end of file