Verified Commit 1674b427 authored by Alberto Miranda's avatar Alberto Miranda ♨️
Browse files

Add hermes dependency to build system

parent 2f923cdf
Loading
Loading
Loading
Loading

.gitmodules

0 → 100644
+3 −0
Original line number Diff line number Diff line
[submodule "external/hermes"]
	path = external/hermes
	url = https://github.com/bsc-ssrg/hermes.git
+7 −0
Original line number Diff line number Diff line
@@ -153,6 +153,13 @@ set_target_properties(fmt
    INTERFACE_INCLUDE_DIRECTORIES "${CMAKE_SOURCE_DIR}/external/spdlog"
)

add_library(hermes INTERFACE)
# we cannot use target_include_directories with CMake < 3.11
set_target_properties(hermes
    PROPERTIES
    INTERFACE_INCLUDE_DIRECTORIES "${CMAKE_SOURCE_DIR}/external/hermes/include"
)

set(INCLUDE_DIR "${CMAKE_SOURCE_DIR}/include")

# define include directories that are relevant for all targets
Original line number Diff line number Diff line
Subproject commit 9779ad922b3e1a0e657516294721a5386f52d89d
+1 −0
Original line number Diff line number Diff line
@@ -49,6 +49,7 @@ target_link_libraries(gkfs_intercept
    dl
    ${ABT_LIBRARIES}
    mercury
    hermes
    ${MARGO_LIBRARIES}
    Boost::boost # needed for tokenizer header
    Threads::Threads