Fix cmake files used by other projects to detect PySide.
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
This commit is contained in:
parent
9a662a134c
commit
ee00f28629
3 changed files with 3 additions and 3 deletions
9
libpyside/PySideConfigVersion.cmake.in
Normal file
9
libpyside/PySideConfigVersion.cmake.in
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
set(PACKAGE_VERSION @BINDING_API_VERSION@)
|
||||
if("${PACKAGE_FIND_VERSION_MAJOR}" EQUAL @BINDING_API_MAJOR_VERSION@)
|
||||
if("${PACKAGE_FIND_VERSION_MINOR}" EQUAL @BINDING_API_MINOR_VERSION@)
|
||||
set(PACKAGE_VERSION_COMPATIBLE 1)
|
||||
if("${PACKAGE_FIND_VERSION_PATCH}" EQUAL @BINDING_API_MICRO_VERSION@)
|
||||
set(PACKAGE_VERSION_EXACT 1)
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
Loading…
Add table
Add a link
Reference in a new issue