summaryrefslogtreecommitdiff
path: root/src/cmake/modules/GUDHI_submodules.cmake
diff options
context:
space:
mode:
authorVincent Rouvreau <vincent.rouvreau@inria.fr>2022-06-29 10:03:38 +0200
committerVincent Rouvreau <vincent.rouvreau@inria.fr>2022-06-29 10:03:38 +0200
commit26a4381c6948338f935e107880cdf0789f65cb12 (patch)
tree58bb5d7c92d092e8ad22835034d7008c5b9b3008 /src/cmake/modules/GUDHI_submodules.cmake
parentccb0e44f107d1d09c178620566eeefd02feb6a4e (diff)
third parties are not required when WITH_GUDHI_CPP_DOCUMENTATION_ONLY, but hera submodule is mandatory. Moved in a new cmake module
Diffstat (limited to 'src/cmake/modules/GUDHI_submodules.cmake')
-rw-r--r--src/cmake/modules/GUDHI_submodules.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cmake/modules/GUDHI_submodules.cmake b/src/cmake/modules/GUDHI_submodules.cmake
new file mode 100644
index 00000000..78b045bd
--- /dev/null
+++ b/src/cmake/modules/GUDHI_submodules.cmake
@@ -0,0 +1,5 @@
+# For those who dislike bundled dependencies, this indicates where to find a preinstalled Hera.
+set(HERA_WASSERSTEIN_INTERNAL_INCLUDE_DIR ${CMAKE_SOURCE_DIR}/ext/hera/wasserstein/include)
+set(HERA_WASSERSTEIN_INCLUDE_DIR ${HERA_WASSERSTEIN_INTERNAL_INCLUDE_DIR} CACHE PATH "Directory where one can find Hera's wasserstein.h")
+set(HERA_BOTTLENECK_INTERNAL_INCLUDE_DIR ${CMAKE_SOURCE_DIR}/ext/hera/bottleneck/include)
+set(HERA_BOTTLENECK_INCLUDE_DIR ${HERA_BOTTLENECK_INTERNAL_INCLUDE_DIR} CACHE PATH "Directory where one can find Hera's bottleneck.h") \ No newline at end of file