Commit 5fcebc8d authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use correct phonon lib

parent 0899c32e
......@@ -41,7 +41,7 @@ set_package_properties(KF5DocTools PROPERTIES DESCRIPTION
"Tools to generate documentation"
TYPE OPTIONAL
)
find_package(Phonon4Qt5 REQUIRED NO_MODULE)
find_package(Phonon4Qt${QT_MAJOR_VERSION} REQUIRED NO_MODULE)
find_package(X11 REQUIRED)
if(NOT X11_Xt_FOUND)
......
......@@ -24,7 +24,7 @@ target_link_libraries(kmousetool
Qt${QT_MAJOR_VERSION}::Widgets
Qt${QT_MAJOR_VERSION}::Gui
Qt${QT_MAJOR_VERSION}::Core
Phonon::phonon4qt5
Phonon::phonon4qt${QT_MAJOR_VERSION}
${X11_XTest_LIB}
${X11_Xext_LIB}
${X11_LIBRARIES}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment