mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-05 06:25:48 +01:00
Properly find Qt5LinguistTools (#5913)
This commit is contained in:
parent
0a59257dc3
commit
b8381321c2
@ -45,9 +45,8 @@ if(NOT APPLE)
|
||||
find_package(Qt5 COMPONENTS WebKitWidgets)
|
||||
endif(NOT APPLE)
|
||||
|
||||
# Find Qt's lconvert binary. Try qt's binary dir first, fall back to looking in PATH
|
||||
find_program(QT_LCONVERT_EXECUTABLE NAMES lconvert lconvert-qt5 PATHS ${QT_BINARY_DIR} NO_DEFAULT_PATH)
|
||||
find_program(QT_LCONVERT_EXECUTABLE NAMES lconvert lconvert-qt5)
|
||||
find_package(Qt5LinguistTools CONFIG REQUIRED)
|
||||
set(QT_LCONVERT_EXECUTABLE Qt5::lconvert)
|
||||
|
||||
if(APPLE)
|
||||
if(NOT QT_MAC_USE_COCOA)
|
||||
|
Loading…
Reference in New Issue
Block a user