From a3abb8cef6377eae156f21df76627b782ca0d8db 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.cpp | 2 +- SingleUserInput.hpp | 2 +- Window.hpp | 2 +- cmake/gsl.cmake | 2 +- cmake/libvterm.cmake | 2 ++ 6 files changed, 7 insertions(+), 5 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.cpp b/SingleUserInput.cpp index 029ed4a..6e08b6d 100644 --- a/SingleUserInput.cpp +++ b/SingleUserInput.cpp @@ -5,7 +5,7 @@ #include "SingleUserInput.hpp" #include "Debug.hpp" -#include +#include #include #define KEY_TAB '\t' diff --git a/SingleUserInput.hpp b/SingleUserInput.hpp index b0ec8e6..f9f995b 100644 --- a/SingleUserInput.hpp +++ b/SingleUserInput.hpp @@ -1,7 +1,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 d2f03f1..b003913 100644 --- a/Window.hpp +++ b/Window.hpp @@ -5,7 +5,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()