summaryrefslogtreecommitdiff
path: root/src/cmake
diff options
context:
space:
mode:
authorMarc Glisse <marc.glisse@inria.fr>2022-11-16 14:34:11 +0100
committerMarc Glisse <marc.glisse@inria.fr>2022-11-21 22:50:23 +0100
commita63010aba4fedd80fc9076c9e10e9afce7a0755f (patch)
treeb5e06817fc4b4c5f72cfc22c5a8882bc1ea8f219 /src/cmake
parent9920ebf573304c19dd18389ddcff3e677a8bc92a (diff)
Always include Hera's directory
Diffstat (limited to 'src/cmake')
-rw-r--r--src/cmake/modules/GUDHI_submodules.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cmake/modules/GUDHI_submodules.cmake b/src/cmake/modules/GUDHI_submodules.cmake
index c844386d..9ede852d 100644
--- a/src/cmake/modules/GUDHI_submodules.cmake
+++ b/src/cmake/modules/GUDHI_submodules.cmake
@@ -1,3 +1,5 @@
# For those who dislike bundled dependencies, this indicates where to find a preinstalled Hera.
set(HERA_INTERNAL_INCLUDE_DIR ${CMAKE_SOURCE_DIR}/ext/hera/include)
set(HERA_INCLUDE_DIR ${HERA_INTERNAL_INCLUDE_DIR} CACHE PATH "Directory where one can find hera/{wasserstein.h,bottleneck.h}")
+# since everything is cleanly under include/hera/, there is no harm always including it
+include_directories(${HERA_INCLUDE_DIR})