diff --git a/CMakeLists.txt b/CMakeLists.txt index d71a2ca437..6b061e298c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -279,7 +279,7 @@ else() endif() if(KWIN_BUILD_SCRIPTING) - set(kwin_QT_LIBS ${kwin_QT_LIBS} ${QT_QTSCRIPT_LIBRARY}) + set(kwin_QT_LIBS ${kwin_QT_LIBS} Qt5::Script) endif() if(KWIN_BUILD_ACTIVITIES)