diff --git a/CMakeLists.txt b/CMakeLists.txt index 1115553..19e5b7d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,7 +10,7 @@ set(META_APP_DESCRIPTION "Common Qt related C++ classes and routines used by my applications such as dialogs, widgets and models") set(META_VERSION_MAJOR 6) set(META_VERSION_MINOR 3) -set(META_VERSION_PATCH 3) +set(META_VERSION_PATCH 4) set(META_APP_VERSION ${META_VERSION_MAJOR}.${META_VERSION_MINOR}.${META_VERSION_PATCH}) project(${META_PROJECT_NAME}) diff --git a/cmake/modules/QtConfig.cmake b/cmake/modules/QtConfig.cmake index 2700230..de654c0 100644 --- a/cmake/modules/QtConfig.cmake +++ b/cmake/modules/QtConfig.cmake @@ -303,16 +303,13 @@ if (ENABLE_QT_TRANSLATIONS AND TS_FILES) if (NOT "${${QT_LINGUIST_TOOLS_PACKAGE}_FOUND}" AND QT_HOST_PATH) # find the module within the host path when set (required for cross compilation with Qt 6 as the module is absent in # the target install tree) - find_package( - "${QT_LINGUIST_TOOLS_PACKAGE}" - PATHS - "${QT_HOST_PATH}" - "${QT_HOST_PATH}/lib/cmake" - NO_CMAKE_FIND_ROOT_PATH - NO_DEFAULT_PATH) + find_package("${QT_LINGUIST_TOOLS_PACKAGE}" PATHS "${QT_HOST_PATH}" "${QT_HOST_PATH}/lib/cmake" + NO_CMAKE_FIND_ROOT_PATH NO_DEFAULT_PATH) endif () if (NOT "${${QT_LINGUIST_TOOLS_PACKAGE}_FOUND}") - message(FATAL_ERROR "Qt translations are enabled but the CMake module \"${QT_LINGUIST_TOOLS_PACKAGE}\" could not be found.") + message( + FATAL_ERROR + "Qt translations are enabled but the CMake module \"${QT_LINGUIST_TOOLS_PACKAGE}\" could not be found.") endif () if (NOT COMMAND qt_create_translation)