diff --git a/CMakeLists.txt b/CMakeLists.txt index 8fb1602..db54d95 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -25,10 +25,15 @@ set(SOURCES framelesshelper_global.h framelesshelper.h framelesshelper.cpp - framelessquickhelper.h - framelessquickhelper.cpp ) +if(Qt5Quick_FOUND) + list(APPEND SOURCES + framelessquickhelper.h + framelessquickhelper.cpp + ) +endif() + if(WIN32) list(APPEND SOURCES winnativeeventfilter.h