summaryrefslogtreecommitdiffstats
path: root/examples/widgets/painting/shared/use_lib.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/painting/shared/use_lib.cmake')
-rw-r--r--examples/widgets/painting/shared/use_lib.cmake4
1 files changed, 0 insertions, 4 deletions
diff --git a/examples/widgets/painting/shared/use_lib.cmake b/examples/widgets/painting/shared/use_lib.cmake
index da4ded9ece..84684a3444 100644
--- a/examples/widgets/painting/shared/use_lib.cmake
+++ b/examples/widgets/painting/shared/use_lib.cmake
@@ -9,8 +9,4 @@ if(NOT TARGET Qt::Widgets)
find_package(Qt6 REQUIRED COMPONENTS Widgets)
endif()
-if(NOT TARGET Qt::OpenGL)
- find_package(Qt6 OPTIONAL_COMPONENTS OpenGL)
-endif()
-
add_subdirectory("${CMAKE_CURRENT_LIST_DIR}" painting_shared)