summaryrefslogtreecommitdiffstats
path: root/sources/pyside2/libpyside/PySide2Config-spec.cmake.in
blob: 9f0ae236ace00be273e5aaf8595f7a3751f8c563 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#  PYSIDE_PYTHONPATH    - Path to where the PySide2 Python module files could be found
#  PYSIDE_TYPESYSTEMS   - Type system files that should be used by other bindings extending PySide2
#  PYSIDE_GLUE          - Path to module glue files.

@PACKAGE_INIT@

# Import targets only when using an installed PySide2 config file (so not during a regular
# PySide2 build, or during a super project build).
if (NOT TARGET PySide2::pyside2)
    include("${CMAKE_CURRENT_LIST_DIR}/PySide2Targets.cmake")
endif()

# Set relocatable variables.
set_and_check(PYSIDE_PYTHONPATH "@PACKAGE_PYSIDE_PYTHONPATH@")
set_and_check(PYSIDE_TYPESYSTEMS "@PACKAGE_PYSIDE_TYPESYSTEMS@")
set_and_check(PYSIDE_GLUE "@PACKAGE_PYSIDE_GLUE@")