diff options
Diffstat (limited to 'src/plugins/platforms/eglfs/CMakeLists.txt')
-rw-r--r-- | src/plugins/platforms/eglfs/CMakeLists.txt | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/src/plugins/platforms/eglfs/CMakeLists.txt b/src/plugins/platforms/eglfs/CMakeLists.txt index 26784ca291..8a3c77a5ac 100644 --- a/src/plugins/platforms/eglfs/CMakeLists.txt +++ b/src/plugins/platforms/eglfs/CMakeLists.txt @@ -58,19 +58,20 @@ extend_target(EglFSDeviceIntegration CONDITION TARGET Qt::PlatformCompositorSupp # extend_target(EglFSDeviceIntegration CONDITION NOT EGLFS_PLATFORM_HOOKS_SOURCES_ISEMPTY ... # extend_target(EglFSDeviceIntegration CONDITION NOT EGLFS_DEVICE_INTEGRATION_ISEMPTY ... -# Resources: -set(cursor_resource_files - "cursor-atlas.png" - "cursor.json" -) - -add_qt_resource(EglFSDeviceIntegration "cursor" - PREFIX - "/" - FILES - ${cursor_resource_files} -) +if(QT_FEATURE_cursor) # special case + # Resources: + set(cursor_resource_files + "cursor-atlas.png" + "cursor.json" + ) + add_qt_resource(EglFSDeviceIntegration "cursor" + PREFIX + "/" + FILES + ${cursor_resource_files} + ) +endif() extend_target(EglFSDeviceIntegration CONDITION QT_FEATURE_opengl SOURCES |