summaryrefslogtreecommitdiffstats
path: root/src/opengl/doc/snippets/CMakeLists.txt
blob: 8ec6a4b83bfe014f8bfc7800920245e11845a7ed (plain)
1
2
3
4
#! [cmake_use]
find_package(Qt6 COMPONENTS OpenGL REQUIRED)
target_link_libraries(mytarget Qt6::OpenGL)
#! [cmake_use]