From a120202153adb49a8614bf1608f48be5437f0238 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Sch=C3=BCrmann?= Date: Tue, 20 Dec 2022 08:06:19 +0100 Subject: [PATCH] set(CMAKE_FIND_DEBUG_MODE FALSE) --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7836e25631d0..76185b0ec30e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.17) # CMAKE_CXX_COMPILER_ID: Distinguish between "AppleClang" and "Clang" if(POLICY CMP0025) @@ -1486,7 +1486,9 @@ endif() if(APPLE OR WIN32) # qt_de.qm is just one arbitrary file in the directory that needs to be located; # there is no particular reason to look for this file versus any other one in the directory. + set(CMAKE_FIND_DEBUG_MODE TRUE) find_file(QT_TRANSLATION_FILE qt_de.qm PATH_SUFFIXES ../share/qt5/translations REQUIRED) + set(CMAKE_FIND_DEBUG_MODE FALSE) get_filename_component(QT_TRANSLATIONS ${QT_TRANSLATION_FILE} DIRECTORY) install( DIRECTORY "${QT_TRANSLATIONS}"