From 790da1696930d30b6009b185dd2e247e22d4bf1b Mon Sep 17 00:00:00 2001 From: Fabian Kosmale Date: Sun, 6 Jun 2021 19:18:15 +0200 Subject: Replace calls to obsolete cmake functions with modern alternative Change-Id: I5674d887a73a6a693d1babc416470c9873491eb3 Reviewed-by: Fabian Kosmale --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index fb1050109..3b4f06d7e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,6 +11,9 @@ project(QtWebEngineRepoSuperBuild LANGUAGES CXX C ) +# Make sure we only use latest private CMake API, aka no compatibility wrappers. +set(QT_NO_INTERNAL_COMPATIBILITY_FUNCTIONS TRUE) + # Make sure we use the fixed BASE argument of qt_add_resource. set(QT_USE_FIXED_QT_ADD_RESOURCE_BASE TRUE) -- cgit v1.2.3