From b9345fbf52b8d6a8fa6632d38fbcee4da6cc2165 Mon Sep 17 00:00:00 2001 From: Majid Q Date: Thu, 20 Jul 2023 18:23:55 +1000 Subject: [PATCH] Fix Ripe.h include --- CHANGELOG.md | 1 + CMakeLists.txt | 2 ++ lib/Ripe.cc | 2 +- src/ripe.cc | 2 +- 4 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f373a28..765022a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## [4.2.2] - 20-07-2023 - Updated to remove unused intro - Updated google test that now requires C++14 +- Fix include path for Ripe.h ## [4.2.0] - 02-03-2018 - Added SHA-256 and SHA-512 support diff --git a/CMakeLists.txt b/CMakeLists.txt index 93d658d..4500382 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,6 +19,8 @@ set (CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake") include_directories (${CMAKE_BINARY_DIR}) include_directories (${CMAKE_SOURCE_DIR}) +include_directories (include/) + include(FindPackageHandleStandardArgs) # http://www.cmake.org/Wiki/CMake_RPATH_handling#Mac_OS_X_and_the_RPATH diff --git a/lib/Ripe.cc b/lib/Ripe.cc index e043c23..e1c0619 100644 --- a/lib/Ripe.cc +++ b/lib/Ripe.cc @@ -37,7 +37,7 @@ #include -#include "../include/Ripe.h" +#include #define RIPE_UNUSED(x) (void)x diff --git a/src/ripe.cc b/src/ripe.cc index 6b56601..c22387c 100644 --- a/src/ripe.cc +++ b/src/ripe.cc @@ -23,7 +23,7 @@ #include #include #include -#include "../include/Ripe.h" +#include void displayVersion() {