summaryrefslogtreecommitdiff
path: root/x11-toolkits/qtermwidget/files/patch-CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/qtermwidget/files/patch-CMakeLists.txt')
-rw-r--r--x11-toolkits/qtermwidget/files/patch-CMakeLists.txt33
1 files changed, 0 insertions, 33 deletions
diff --git a/x11-toolkits/qtermwidget/files/patch-CMakeLists.txt b/x11-toolkits/qtermwidget/files/patch-CMakeLists.txt
deleted file mode 100644
index 660f0184d68b..000000000000
--- a/x11-toolkits/qtermwidget/files/patch-CMakeLists.txt
+++ /dev/null
@@ -1,33 +0,0 @@
---- CMakeLists.txt.orig 2017-10-21 19:01:23 UTC
-+++ CMakeLists.txt
-@@ -6,6 +6,7 @@ include(GNUInstallDirs)
- include(GenerateExportHeader)
- include(CMakePackageConfigHelpers)
- include(CheckFunctionExists)
-+include(CheckIncludeFile)
-
- set(REQUIRED_QT_VERSION "5.6")
- set(LXQTBT_MINIMUM_VERSION "0.4.0")
-@@ -112,6 +113,7 @@ message(STATUS "Translations will be ins
- set(QTERMWIDGET_INCLUDE_DIR "${CMAKE_INSTALL_FULL_INCLUDEDIR}/${QTERMWIDGET_LIBRARY_NAME}")
-
- CHECK_FUNCTION_EXISTS(updwtmpx HAVE_UPDWTMPX)
-+CHECK_INCLUDE_FILE(utempter.h HAVE_UTEMPTER)
-
- qt5_wrap_cpp(MOCS ${HDRS})
- qt5_wrap_ui(UI_SRCS ${UI})
-@@ -160,6 +162,14 @@ if(HAVE_UPDWTMPX)
- )
- endif()
-
-+if(HAVE_UTEMPTER)
-+ target_compile_definitions(${QTERMWIDGET_LIBRARY_NAME}
-+ PRIVATE
-+ "HAVE_UTEMPTER"
-+ )
-+ target_link_libraries(${QTERMWIDGET_LIBRARY_NAME} ulog)
-+endif()
-+
- if (UTF8PROC_FOUND)
- target_compile_definitions(${QTERMWIDGET_LIBRARY_NAME}
- PRIVATE