Skip to content

Commit

Permalink
Improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
daschuer authored Dec 20, 2022
1 parent 3a2d5a9 commit 4f60461
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
find_file(QT_TRANSLATION_FILE qt_de.qm PATHS "${Qt5_DIR}" PATH_SUFFIXES ../../../translations ../../qt5/translations REQUIRED NO_DEFAULT_PATH)
set(CMAKE_FIND_DEBUG_MODE TRUE)
find_file(QT_TRANSLATION_FILE qt_de.qm PATHS "${Qt5_DIR}/../../../translations" "${Qt5_DIR}/../../qt5/translations" REQUIRED NO_DEFAULT_PATH)
set(CMAKE_FIND_DEBUG_MODE FALSE)
get_filename_component(QT_TRANSLATIONS ${QT_TRANSLATION_FILE} DIRECTORY)
install(
DIRECTORY "${QT_TRANSLATIONS}"
Expand Down

0 comments on commit 4f60461

Please sign in to comment.