From 840ffdd3bf7f72a0e6318dd56b36d4145904f54d Mon Sep 17 00:00:00 2001 From: Christian Burger Date: Fri, 15 Apr 2022 15:59:02 +0100 Subject: [PATCH] minor changes required for Gentoo --- App.hpp | 2 +- SingleUserInput.hpp | 2 +- Window.hpp | 2 +- cmake/gsl.cmake | 2 +- cmake/libvterm.cmake | 2 ++ 5 files changed, 6 insertions(+), 4 deletions(-) diff --git a/App.hpp b/App.hpp index b3174fe..de10945 100644 --- a/App.hpp +++ b/App.hpp @@ -6,7 +6,7 @@ #ifndef A3B2AE4E_0A39_468C_8CCA_E6508166702A #define A3B2AE4E_0A39_468C_8CCA_E6508166702A -#include +#include namespace krikkel::NCursesPtyWindow { diff --git a/SingleUserInput.hpp b/SingleUserInput.hpp index 7d21e5b..210352a 100644 --- a/SingleUserInput.hpp +++ b/SingleUserInput.hpp @@ -6,7 +6,7 @@ #ifndef F0E30ED4_3883_40D6_A6EE_08BA4DF9E92E #define F0E30ED4_3883_40D6_A6EE_08BA4DF9E92E -#include +#include #include namespace krikkel::NCursesPtyWindow diff --git a/Window.hpp b/Window.hpp index 6aaa542..f7e1852 100644 --- a/Window.hpp +++ b/Window.hpp @@ -8,7 +8,7 @@ #include "SingleUserInput.hpp" -#include +#include #include #include #include diff --git a/cmake/gsl.cmake b/cmake/gsl.cmake index dd4cd95..a1e93a5 100644 --- a/cmake/gsl.cmake +++ b/cmake/gsl.cmake @@ -1,6 +1,6 @@ # @author Christian Burger -find_path(GSL_INCLUDE_DIR "gsl") +find_path(GSL_INCLUDE_DIR "gsl/gsl") if(GSL_INCLUDE_DIR STREQUAL "GSL_INCLUDE_DIR-NOTFOUND") message(SEND_ERROR "Microsoft GSL not found.") else() diff --git a/cmake/libvterm.cmake b/cmake/libvterm.cmake index 636b572..577a3e1 100644 --- a/cmake/libvterm.cmake +++ b/cmake/libvterm.cmake @@ -22,4 +22,6 @@ if(LIBVTERM_LIBRARY STREQUAL "LIBVTERM_LIBRARY-NOTFOUND") ExternalProject_Get_property(libvtermProject SOURCE_DIR) set(LIBVTERM_LIBRARY "${SOURCE_DIR}/.libs/libvterm.a") include_directories(SYSTEM "${SOURCE_DIR}/include") +else() + message(WARNING "libvterm found — hopefully the right version") endif()