diff options
author | Andre Heinecke <[email protected]> | 2016-03-02 17:41:42 +0000 |
---|---|---|
committer | Andre Heinecke <[email protected]> | 2016-03-02 17:41:42 +0000 |
commit | 77c3fb450c7adf36804a55d76ff49a06a71d22a0 (patch) | |
tree | d5e97865c15f2d8f12d882302a8d12bb01b641b5 /lang/cpp/src/GpgmeppConfigVersion.cmake.in | |
parent | Fix export header and windows export macros (diff) | |
download | gpgme-77c3fb450c7adf36804a55d76ff49a06a71d22a0.tar.gz gpgme-77c3fb450c7adf36804a55d76ff49a06a71d22a0.zip |
Add cmake configuration files
* configure.ac: Add libgpgmepp version. Configure cmake files.
* lang/cpp/src/Makefile.am: Add targets for cmake files.
(EXTRA_DIST): Add cmake files.
--
This should smooth the transition for downstream users that
have worked with KF5::Gpgmepp previously.
Diffstat (limited to 'lang/cpp/src/GpgmeppConfigVersion.cmake.in')
-rw-r--r-- | lang/cpp/src/GpgmeppConfigVersion.cmake.in | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/lang/cpp/src/GpgmeppConfigVersion.cmake.in b/lang/cpp/src/GpgmeppConfigVersion.cmake.in new file mode 100644 index 00000000..43d65127 --- /dev/null +++ b/lang/cpp/src/GpgmeppConfigVersion.cmake.in @@ -0,0 +1,31 @@ +# CMake Version file for GPGMEPP. +# Copyright (C) 2016 Intevation GmbH +# +# This file is part of GPGMEPP. +# +# GPGME-CL is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# GPGME-CL is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA + +# based on a generated file from cmake. +set(PACKAGE_VERSION "@LIBGPGMEPP_LT_CURRENT@.@LIBGPGMEPP_LT_AGE@.@LIBGPGMEPP_LT_REVISION@.@BUILD_REVISION@") + +if("${PACKAGE_VERSION}" VERSION_LESS "${PACKAGE_FIND_VERSION}" ) + set(PACKAGE_VERSION_COMPATIBLE FALSE) +else() + set(PACKAGE_VERSION_COMPATIBLE TRUE) + if( "${PACKAGE_FIND_VERSION}" STREQUAL "${PACKAGE_VERSION}") + set(PACKAGE_VERSION_EXACT TRUE) + endif() +endif() |