From 13ddd99b47811d5e8060a51a0d99351bd7c66692 Mon Sep 17 00:00:00 2001 From: Ivan Yarcev Date: Tue, 27 Feb 2024 16:38:09 +0600 Subject: [PATCH] Fixed building for new library version --- source/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt index 3cc243d..f969a33 100644 --- a/source/CMakeLists.txt +++ b/source/CMakeLists.txt @@ -17,6 +17,11 @@ if(WEBKIT_LIBRARIES_FOUND) add_definitions(${WEBKIT_CFLAGS_OTHER}) endif() +pkg_check_modules(VTE291 REQUIRED vte-2.91) +include_directories(${VTE291_INCLUDE_DIRS}) +link_directories(${VTE291_LIBRARY_DIRS}) +add_definitions(${VTE291_CFLAGS_OTHER}) + set(GRESOURCE_C resources.c) set(GRESOURCE_XML gresource.xml) @@ -65,6 +70,7 @@ set(SOURCE_FILES set(LIBRARIES ${GTK_LIBRARIES} + ${VTE291_LIBRARIES} pthread ublsettings ublsettings-gtk3