diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-11-11 19:17:10 +0100 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-11-12 13:16:08 +0000 |
commit | e6a845ad88d0638a43c526f0de4115d9546b00a2 (patch) | |
tree | f058c7d0c4a1748a6c3062798364e12c0d30e805 /src/plugins/platforms/eglfs | |
parent | a0967c2a4f171e9edf6edef0c2ea966500343563 (diff) |
Regenerate a bunch of projects after pro2cmake changes
Change-Id: I675a068411785364915a074ca0e631fec944d228
Reviewed-by: Qt CMake Build Bot
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/plugins/platforms/eglfs')
-rw-r--r-- | src/plugins/platforms/eglfs/.prev_CMakeLists.txt | 27 | ||||
-rw-r--r-- | src/plugins/platforms/eglfs/CMakeLists.txt | 25 |
2 files changed, 27 insertions, 25 deletions
diff --git a/src/plugins/platforms/eglfs/.prev_CMakeLists.txt b/src/plugins/platforms/eglfs/.prev_CMakeLists.txt index 79496058e3..a47c1b0527 100644 --- a/src/plugins/platforms/eglfs/.prev_CMakeLists.txt +++ b/src/plugins/platforms/eglfs/.prev_CMakeLists.txt @@ -72,19 +72,20 @@ extend_target(EglFSDeviceIntegration CONDITION NOT EGLFS_DEVICE_INTEGRATION_ISEM EGLFS_PREFERRED_PLUGIN= ) -# Resources: -set(cursor_resource_files - "cursor-atlas.png" - "cursor.json" -) - -add_qt_resource(EglFSDeviceIntegration "cursor" - PREFIX - "/" - FILES - ${cursor_resource_files} -) - +if(NOT DEFINES___contains___QT_NO_CURSOR) + # 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 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 |