summaryrefslogtreecommitdiffstats
path: root/src/core/api
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/api')
-rw-r--r--src/core/api/Qt6WebEngineCoreMacros.cmake2
-rw-r--r--src/core/api/configure.cmake4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/core/api/Qt6WebEngineCoreMacros.cmake b/src/core/api/Qt6WebEngineCoreMacros.cmake
index 6c335aad1..8bb731548 100644
--- a/src/core/api/Qt6WebEngineCoreMacros.cmake
+++ b/src/core/api/Qt6WebEngineCoreMacros.cmake
@@ -29,7 +29,7 @@ function(qt6_add_webengine_dictionary)
set(copyCommand COMMAND ${CMAKE_COMMAND} -E copy_directory ${ARGS_OUTPUT_DIRECTORY}/dict
${ARGS_OUTPUT_DIRECTORY}/$<CONFIG>
)
- elseif((MACOS OR IOS) AND isBundle)
+ elseif(APPLE AND isBundle)
get_target_property(outputName ${ARGS_TARGET} OUTPUT_NAME)
if(NOT outputName)
set(outputName ${ARGS_TARGET})
diff --git a/src/core/api/configure.cmake b/src/core/api/configure.cmake
index 48f7cacc0..49ad00ed8 100644
--- a/src/core/api/configure.cmake
+++ b/src/core/api/configure.cmake
@@ -13,7 +13,7 @@ if(NOT QT_CONFIGURE_RUNNING)
pkg_check_modules(XDAMAGE xdamage)
pkg_check_modules(POPPLER_CPP poppler-cpp IMPORTED_TARGET)
pkg_check_modules(GBM gbm)
- pkg_check_modules(LIBVA libva)
+ pkg_check_modules(LIBVA libva>=1.14)
if(NOT GIO_FOUND)
pkg_check_modules(GIO gio-2.0)
endif()
@@ -66,7 +66,7 @@ qt_feature("webengine-system-alsa" PRIVATE
)
qt_feature("webengine-v8-context-snapshot" PRIVATE
LABEL "Use v8 context snapshot"
- CONDITION NOT CMAKE_CROSSCOMPILING
+ AUTODETECT NOT CMAKE_CROSSCOMPILING
)
qt_feature("webengine-geolocation" PUBLIC
LABEL "Geolocation"