From 46616b852160862fa84e5e82d6de16fadca7ce1f Mon Sep 17 00:00:00 2001 From: lukemartinlogan Date: Thu, 15 Aug 2024 15:40:05 -0500 Subject: [PATCH] Add libelf as dependency --- CMakeLists.txt | 3 ++- ci/hermes/packages/hermes/package.py | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index cdf991c03..1d67a9980 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -107,6 +107,8 @@ SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE) # HermesShm find_package(HermesShm CONFIG REQUIRED) message(STATUS "found hermes_shm.h at ${HermesShm_INCLUDE_DIRS}") +include_directories(${HermesShm_INCLUDE_DIRS}) +link_directories(${HermesShm_LIBRARY_DIRS}) # YAML-CPP find_package(yaml-cpp REQUIRED) @@ -238,7 +240,6 @@ endif() # Build Hermes Main Packages #----------------------------------------------------------------------------- # Main includes -include_directories(${HermesShm_INCLUDE_DIRS}) include_directories(${CMAKE_SOURCE_DIR}) include_directories(${CMAKE_SOURCE_DIR}/include) # Required Task includes diff --git a/ci/hermes/packages/hermes/package.py b/ci/hermes/packages/hermes/package.py index 631a1f5df..d15e39ec4 100644 --- a/ci/hermes/packages/hermes/package.py +++ b/ci/hermes/packages/hermes/package.py @@ -53,6 +53,7 @@ class Hermes(CMakePackage): depends_on('hermes_shm+adios', when='+adios') depends_on('hermes_shm+encrypt', when='+encrypt') depends_on('hermes_shm+compress', when='+compress') + depends_on('libelf') def cmake_args(self): args = []