From 63a71cf245c118ac065bfc6cf31fbd12de728bda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lu=C3=ADs=20Pereira?= Date: Wed, 1 Mar 2017 18:28:30 +0000 Subject: [PATCH] Update find_package() documentation --- cmake/qtermwidget5-config.cmake.in | 24 +++--------------------- 1 file changed, 3 insertions(+), 21 deletions(-) diff --git a/cmake/qtermwidget5-config.cmake.in b/cmake/qtermwidget5-config.cmake.in index 8e6f5d5..db62356 100644 --- a/cmake/qtermwidget5-config.cmake.in +++ b/cmake/qtermwidget5-config.cmake.in @@ -1,28 +1,10 @@ -# - Find the QTermWidget include and library dirs and define a some macros -# -# The module defines the following variables -# QTERMWIDGET_FOUND - Set to TRUE if all of the above has been found -# -# QTERMWIDGET_INCLUDE_DIR - The QTermWidget include directory -# -# QTERMWIDGET_INCLUDE_DIRS - The QTermWidget include directory -# -# QTERMWIDGET_LIBRARIES - The libraries needed to use QTermWidget -# -# QTERMWIDGET_USE_FILE - The variable QTERMWIDGET_USE_FILE is set which is the path -# to a CMake file that can be included to compile qtermwidget -# applications and libraries. It sets up the compilation -# environment for include directories and populates a -# QTERMWIDGET_LIBRARIES variable. -# -# QTERMWIDGET_QT_LIBRARIES - The Qt libraries needed by QTermWidget +# - Find the QTermWidget include and library # # Typical usage: -# find_package(QTERMWIDGET5) +# find_package(QTermWidget5 REQUIRED) # -# include(${QTERMWIDGET_USE_FILE}) # add_executable(foo main.cpp) -# target_link_libraries(foo ${QTERMWIDGET_QT_LIBRARIES} ${QTERMWIDGET_LIBRARIES}) +# target_link_libraries(foo qtermwidget5) @PACKAGE_INIT@