From f05a4828910a9d7030b34bf518acd42cfbc1d5af Mon Sep 17 00:00:00 2001 From: Jerome Benoit Date: Sat, 8 Jan 2022 20:50:51 +0000 Subject: [PATCH] upstream: non-internal support: plfit Origin: debian Forwarded: https://github.com/igraph/igraph/pull/1921 Last-Update: 2022-01-06 This patch specify the folder of the `plfit` headers. It is meant to be submitted to the upstream maintainer. Gbp-Pq: Name upstream-external-plfit.patch --- etc/cmake/FindPLFIT.cmake | 1 + tests/benchmarks/igraph_power_law_fit.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/etc/cmake/FindPLFIT.cmake b/etc/cmake/FindPLFIT.cmake index 666464b..0136937 100644 --- a/etc/cmake/FindPLFIT.cmake +++ b/etc/cmake/FindPLFIT.cmake @@ -10,6 +10,7 @@ find_path(PLFIT_INCLUDE_DIR NAMES plfit.h + PATH_SUFFIXES plfit ) find_library(PLFIT_LIBRARY diff --git a/tests/benchmarks/igraph_power_law_fit.c b/tests/benchmarks/igraph_power_law_fit.c index 4e2b699..7e5b7d0 100644 --- a/tests/benchmarks/igraph_power_law_fit.c +++ b/tests/benchmarks/igraph_power_law_fit.c @@ -1,5 +1,5 @@ #include -#include +#include #include "bench.h" -- 2.30.2