fix: port Konsole to Redox Qt surface
This commit is contained in:
@@ -43,13 +43,23 @@ include(CheckIncludeFiles)
|
||||
# Allows passing e.g. -DECM_ENABLE_SANITIZERS='address;undefined' to cmake.
|
||||
include(ECMEnableSanitizers)
|
||||
|
||||
string(REPLACE " -fpermissive" "" CMAKE_C_FLAGS "${CMAKE_C_FLAGS}")
|
||||
|
||||
find_package(Qt6 ${QT_MIN_VERSION} CONFIG REQUIRED
|
||||
Core
|
||||
Multimedia
|
||||
PrintSupport
|
||||
Widgets
|
||||
Core5Compat
|
||||
)
|
||||
find_package(Qt6Multimedia ${QT_MIN_VERSION} CONFIG QUIET)
|
||||
find_package(Qt6PrintSupport ${QT_MIN_VERSION} CONFIG QUIET)
|
||||
set(HAVE_QTMULTIMEDIA 0)
|
||||
if(TARGET Qt6::Multimedia)
|
||||
set(HAVE_QTMULTIMEDIA 1)
|
||||
endif()
|
||||
set(HAVE_QTPRINTSUPPORT 0)
|
||||
if(TARGET Qt6::PrintSupport)
|
||||
set(HAVE_QTPRINTSUPPORT 1)
|
||||
endif()
|
||||
|
||||
find_package(KF6 ${KF6_DEP_VERSION} REQUIRED
|
||||
Bookmarks
|
||||
@@ -96,7 +106,7 @@ if(USE_DBUS)
|
||||
set(HAVE_DBUS 1)
|
||||
endif()
|
||||
|
||||
find_package(KF6DocTools ${KF6_DEP_VERSION})
|
||||
find_package(KF6DocTools ${KF6_DEP_VERSION} QUIET)
|
||||
set_package_properties(KF6DocTools PROPERTIES DESCRIPTION
|
||||
"Tools to generate documentation"
|
||||
TYPE OPTIONAL
|
||||
@@ -157,7 +167,7 @@ ecm_qt_install_logging_categories(
|
||||
DESTINATION "${KDE_INSTALL_LOGGINGCATEGORIESDIR}"
|
||||
)
|
||||
|
||||
ki18n_install( po )
|
||||
#ki18n_install( po )
|
||||
if(KF6DocTools_FOUND)
|
||||
kdoctools_install( po )
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user