PythonQt_QtAllConfig.cmake.in
30 lines
| 992 B
| text/plain
|
TextLexer
Orochimarufan
|
r211 | # - Config file for the PythonQt package | ||
# It defines the following variables | ||||
# PythonQt_QtAll - the PythonQt QtAll target | ||||
# PythonQt_QtAll_INCLUDE_DIRS - include directories for PythonQt | ||||
# PythonQt_QtAll_LIBRARIES - libraries to link against | ||||
Orochimarufan
|
r212 | # PythonQt_QtAll_QT - linked Qt modules | ||
Orochimarufan
|
r211 | |||
set(PythonQt_QtAll @PythonQt_QtAll@) | ||||
Orochimarufan
|
r212 | set(PythonQt_QtAll_QT @QT@) | ||
Orochimarufan
|
r214 | set(__PYTHONQT_LOCAL @PythonQt_EXPORT_LOCAL@) | ||
if(NOT __PYTHONQT_LOCAL) | ||||
find_package(@PythonQt@) | ||||
endif() | ||||
Orochimarufan
|
r211 | # Compute paths | ||
get_filename_component(PYTHONQT_QTALL_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH) | ||||
set(PythonQt_QtAll_INCLUDE_DIRS "@INCLUDE_DIRS@") | ||||
# Our library dependencies (contains definitions for IMPORTED targets) | ||||
if(NOT TARGET @PythonQt_QtAll@) | ||||
include("${PYTHONQT_QTALL_CMAKE_DIR}/@PythonQt_QtAll@Targets.cmake") | ||||
endif() | ||||
Orochimarufan
|
r214 | if(__PYTHONQT_LOCAL) | ||
find_package(@PythonQt@) | ||||
endif() | ||||
Orochimarufan
|
r213 | |||
Orochimarufan
|
r211 | # These are IMPORTED targets created by @PythonQt_QtAll@Targets.cmake | ||
Orochimarufan
|
r213 | set(PythonQt_QtAll_LIBRARIES @PythonQt_QtAll@) | ||