summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorMarcus D. Hanwell <marcus.hanwell@kitware.com>2016-11-01 16:44:34 (GMT)
committerBrad King <brad.king@kitware.com>2016-11-02 12:51:53 (GMT)
commit4c802a326b76d776c895ebbe3c0ebf2a0e223ba2 (patch)
tree4dd934277d17237acc6dbbde7ac8475302aa0dd6 /Help
parent876da11858ab6649bb088c4bb7758fc84910ba20 (diff)
downloadCMake-4c802a326b76d776c895ebbe3c0ebf2a0e223ba2.zip
CMake-4c802a326b76d776c895ebbe3c0ebf2a0e223ba2.tar.gz
CMake-4c802a326b76d776c895ebbe3c0ebf2a0e223ba2.tar.bz2
Help: Update example Qt 5 find_package call to use COMPONENTS
Diffstat (limited to 'Help')
-rw-r--r--Help/manual/cmake-qt.7.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Help/manual/cmake-qt.7.rst b/Help/manual/cmake-qt.7.rst
index e8a2c1e..bd0a984 100644
--- a/Help/manual/cmake-qt.7.rst
+++ b/Help/manual/cmake-qt.7.rst
@@ -29,7 +29,7 @@ Qt 4 and Qt 5 may be used together in the same
set(CMAKE_AUTOMOC ON)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
- find_package(Qt5Widgets REQUIRED)
+ find_package(Qt5 COMPONENTS Widgets REQUIRED)
add_executable(publisher publisher.cpp)
target_link_libraries(publisher Qt5::Widgets Qt5::DBus)