source: ogBrowser-Git/qtermwidget/cmake/qtermwidget6-config.cmake.in @ 5dc347a

jenkinsmain
Last change on this file since 5dc347a was c0cec9d, checked in by Vadim Troshchinskiy Shmelev <vtroshchinskiy@…>, 18 months ago

Add CMake files

  • Property mode set to 100644
File size: 536 bytes
Line 
1# - Find the QTermWidget include and library
2#
3# Typical usage:
4#    find_package(QTermWidget5 REQUIRED)
5#
6#    add_executable(foo main.cpp)
7#    target_link_libraries(foo qtermwidget5)
8
9@PACKAGE_INIT@
10
11if (CMAKE_VERSION VERSION_LESS 3.0.2)
12    message(FATAL_ERROR \"qtermwidget requires at least CMake version 3.0.2\")
13endif()
14
15if (NOT TARGET @QTERMWIDGET_LIBRARY_NAME@)
16    if (POLICY CMP0024)
17        cmake_policy(SET CMP0024 NEW)
18    endif()
19    include("${CMAKE_CURRENT_LIST_DIR}/@QTERMWIDGET_LIBRARY_NAME@-targets.cmake")
20endif()
Note: See TracBrowser for help on using the repository browser.