This commit is contained in:
ivan2282
2025-11-25 12:06:49 +03:00
parent 2e3e2c8dde
commit 11a8c3d3bc

View File

@@ -57,15 +57,6 @@ find_package(PkgConfig REQUIRED)
pkg_check_modules(GTK REQUIRED IMPORTED_TARGET gtk+-3.0) pkg_check_modules(GTK REQUIRED IMPORTED_TARGET gtk+-3.0)
pkg_check_modules(GTK3 REQUIRED IMPORTED_TARGET gtk+-3.0) pkg_check_modules(GTK3 REQUIRED IMPORTED_TARGET gtk+-3.0)
# Check for Wayland support in GTK
#pkg_check_modules(GTK_WAYLAND REQUIRED IMPORTED_TARGET gtk+-3.0)
#pkg_check_modules(FLUTTER_INAPPWEBVIEW_PLUGIN REQUIRED IMPORTED_TARGET
# webkit2gtk-4.0
# gtk+-3.0
#)
# Application build; see runner/CMakeLists.txt. # Application build; see runner/CMakeLists.txt.
add_subdirectory("runner") add_subdirectory("runner")
@@ -136,12 +127,3 @@ if(NOT CMAKE_BUILD_TYPE MATCHES "Debug")
install(FILES "${AOT_LIBRARY}" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}" install(FILES "${AOT_LIBRARY}" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}"
COMPONENT Runtime) COMPONENT Runtime)
endif() endif()
# This include() command was automatically added by the flutter_linux_webview
# plugin when building the app with the plugin. The app executable must be
# linked to the CEF library for the WebView plugin to work. This command links
# the app executable to the CEF library.
include(flutter/ephemeral/.plugin_symlinks/flutter_linux_webview/linux/cmake/link_to_cef_library.cmake)