jenkins
Last change
on this file was
64efc22,
checked in by Vadim Troshchinskiy <vtroshchinskiy@…>, 19 months ago
|
Update qtermwidget to modern version
|
-
Property mode set to
100644
|
File size:
536 bytes
|
Rev | Line | |
---|
[64efc22] | 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 | |
---|
| 11 | if (CMAKE_VERSION VERSION_LESS 3.0.2) |
---|
| 12 | message(FATAL_ERROR \"qtermwidget requires at least CMake version 3.0.2\") |
---|
| 13 | endif() |
---|
| 14 | |
---|
| 15 | if (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") |
---|
| 20 | endif() |
---|
Note: See
TracBrowser
for help on using the repository browser.