diff options
author | Hugo Parente Lima <hugo.pl@gmail.com> | 2010-06-25 17:47:09 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2010-06-25 17:48:29 -0300 |
commit | ee00f28629745a7b615a0ce6e8c723605e0e1f35 (patch) | |
tree | 2d58e02ae5bbd255a0c0fe129b61574e8a5a2abe /libpyside/PySideConfigVersion.cmake.in | |
parent | 9a662a134c6d437edbdc795c00588a249557a0c2 (diff) |
Fix cmake files used by other projects to detect PySide.
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'libpyside/PySideConfigVersion.cmake.in')
-rw-r--r-- | libpyside/PySideConfigVersion.cmake.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libpyside/PySideConfigVersion.cmake.in b/libpyside/PySideConfigVersion.cmake.in new file mode 100644 index 000000000..c64468622 --- /dev/null +++ b/libpyside/PySideConfigVersion.cmake.in @@ -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() |