From 1c341f46c033a77daa75ed04ac986e01c4b06a88 Mon Sep 17 00:00:00 2001 From: Anatolii Vorona Date: Wed, 9 Jun 2021 16:22:54 +0200 Subject: [PATCH] build c7 with boost 1.69.0 build c7 with boost 1.69.0; fix cmake3 BOOST lib/include dirs --- contrib/rpm/i2pd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/contrib/rpm/i2pd.spec b/contrib/rpm/i2pd.spec index a2994f28..64b4a300 100644 --- a/contrib/rpm/i2pd.spec +++ b/contrib/rpm/i2pd.spec @@ -10,14 +10,15 @@ Source0: https://github.com/PurpleI2P/i2pd/archive/%{version}/%name-%versi %if 0%{?rhel} == 7 BuildRequires: cmake3 +BuildRequires: boost169-devel %else BuildRequires: cmake +BuildRequires: boost-devel %endif BuildRequires: chrpath BuildRequires: gcc-c++ BuildRequires: zlib-devel -BuildRequires: boost-devel BuildRequires: openssl-devel BuildRequires: miniupnpc-devel BuildRequires: systemd-units @@ -37,6 +38,8 @@ C++ implementation of I2P. cd build %if 0%{?rhel} == 7 %cmake3 \ + -DBOOST_INCLUDEDIR=/usr/include/boost169 \ + -DBOOST_LIBRARYDIR=/usr/lib64/boost169 \ -DWITH_LIBRARY=OFF \ -DWITH_UPNP=ON \ -DWITH_HARDENING=ON \