##// END OF EJS Templates
More PythonQt*Config.cmake fixes
More PythonQt*Config.cmake fixes

File last commit:

r213:89db53e7cd3e
r213:89db53e7cd3e
Show More
PythonQt_QtAllConfig.cmake.in
23 lines | 856 B | text/plain | TextLexer
/ extensions / PythonQt_QtAll / PythonQt_QtAllConfig.cmake.in
Orochimarufan
Add PythonQt*Config.cmake
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
Fix PythonQt*Config*.cmake
r212 # PythonQt_QtAll_QT - linked Qt modules
Orochimarufan
Add PythonQt*Config.cmake
r211
set(PythonQt_QtAll @PythonQt_QtAll@)
Orochimarufan
Fix PythonQt*Config*.cmake
r212 set(PythonQt_QtAll_QT @QT@)
Orochimarufan
Add PythonQt*Config.cmake
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
More PythonQt*Config.cmake fixes
r213 find_package(@PythonQt@)
Orochimarufan
Add PythonQt*Config.cmake
r211 # These are IMPORTED targets created by @PythonQt_QtAll@Targets.cmake
Orochimarufan
More PythonQt*Config.cmake fixes
r213 set(PythonQt_QtAll_LIBRARIES @PythonQt_QtAll@)