minor changes required for Gentoo

This commit is contained in:
Christian Burger 2022-04-15 15:59:02 +01:00
parent 6ce6bcdace
commit 840ffdd3bf
5 changed files with 6 additions and 4 deletions

View file

@ -6,7 +6,7 @@
#ifndef A3B2AE4E_0A39_468C_8CCA_E6508166702A #ifndef A3B2AE4E_0A39_468C_8CCA_E6508166702A
#define A3B2AE4E_0A39_468C_8CCA_E6508166702A #define A3B2AE4E_0A39_468C_8CCA_E6508166702A
#include <cursesapp.h> #include <ncursesw/cursesapp.h>
namespace krikkel::NCursesPtyWindow namespace krikkel::NCursesPtyWindow
{ {

View file

@ -6,7 +6,7 @@
#ifndef F0E30ED4_3883_40D6_A6EE_08BA4DF9E92E #ifndef F0E30ED4_3883_40D6_A6EE_08BA4DF9E92E
#define F0E30ED4_3883_40D6_A6EE_08BA4DF9E92E #define F0E30ED4_3883_40D6_A6EE_08BA4DF9E92E
#include <cursesw.h> #include <ncursesw/cursesw.h>
#include <vterm_keycodes.h> #include <vterm_keycodes.h>
namespace krikkel::NCursesPtyWindow namespace krikkel::NCursesPtyWindow

View file

@ -8,7 +8,7 @@
#include "SingleUserInput.hpp" #include "SingleUserInput.hpp"
#include <cursesw.h> #include <ncursesw/cursesw.h>
#include <pty.h> #include <pty.h>
#include <vterm.h> #include <vterm.h>
#include <string> #include <string>

View file

@ -1,6 +1,6 @@
# @author Christian Burger <christian@krikkel.de> # @author Christian Burger <christian@krikkel.de>
find_path(GSL_INCLUDE_DIR "gsl") find_path(GSL_INCLUDE_DIR "gsl/gsl")
if(GSL_INCLUDE_DIR STREQUAL "GSL_INCLUDE_DIR-NOTFOUND") if(GSL_INCLUDE_DIR STREQUAL "GSL_INCLUDE_DIR-NOTFOUND")
message(SEND_ERROR "Microsoft GSL not found.") message(SEND_ERROR "Microsoft GSL not found.")
else() else()

View file

@ -22,4 +22,6 @@ if(LIBVTERM_LIBRARY STREQUAL "LIBVTERM_LIBRARY-NOTFOUND")
ExternalProject_Get_property(libvtermProject SOURCE_DIR) ExternalProject_Get_property(libvtermProject SOURCE_DIR)
set(LIBVTERM_LIBRARY "${SOURCE_DIR}/.libs/libvterm.a") set(LIBVTERM_LIBRARY "${SOURCE_DIR}/.libs/libvterm.a")
include_directories(SYSTEM "${SOURCE_DIR}/include") include_directories(SYSTEM "${SOURCE_DIR}/include")
else()
message(WARNING "libvterm found — hopefully the right version")
endif() endif()