Changeset View
Changeset View
Standalone View
Standalone View
cmake/FindLibIcal.cmake
Show All 25 Lines | |||||
26 | # | 26 | # | ||
27 | # The following variables are set for compatibility reason and will be | 27 | # The following variables are set for compatibility reason and will be | ||
28 | # removed in the next major version | 28 | # removed in the next major version | ||
29 | # ``LibIcal_MAJOR_VERSION`` | 29 | # ``LibIcal_MAJOR_VERSION`` | ||
30 | # The LibIcal major version | 30 | # The LibIcal major version | ||
31 | # ``LibIcal_MINOR_VERSION`` | 31 | # ``LibIcal_MINOR_VERSION`` | ||
32 | # The LibIcal minor version | 32 | # The LibIcal minor version | ||
33 | # | 33 | # | ||
34 | # Copyright (c) 2008,2010 Allen Winter <winter@kde.org> | 34 | # SPDX-FileCopyrightText: 2008, 2010 Allen Winter <winter@kde.org> | ||
35 | # | 35 | # | ||
36 | # Redistribution and use in source and binary forms, with or without | 36 | # SPDX-License-Identifier: BSD-3-Clause | ||
37 | # modification, are permitted provided that the following conditions | | |||
38 | # are met: | | |||
39 | # | | |||
40 | # 1. Redistributions of source code must retain the copyright | | |||
41 | # notice, this list of conditions and the following disclaimer. | | |||
42 | # 2. Redistributions in binary form must reproduce the copyright | | |||
43 | # notice, this list of conditions and the following disclaimer in the | | |||
44 | # documentation and/or other materials provided with the distribution. | | |||
45 | # 3. The name of the author may not be used to endorse or promote products | | |||
46 | # derived from this software without specific prior written permission. | | |||
47 | # | | |||
48 | # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR | | |||
49 | # IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | | |||
50 | # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. | | |||
51 | # IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, | | |||
52 | # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT | | |||
53 | # NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | | |||
54 | # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | | |||
55 | # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | | |||
56 | # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | | |||
57 | # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | | |||
58 | #============================================================================= | 37 | #============================================================================= | ||
59 | 38 | | |||
60 | if(NOT LibIcal_FIND_VERSION) | 39 | if(NOT LibIcal_FIND_VERSION) | ||
61 | set(LibIcal_FIND_VERSION "0.33") | 40 | set(LibIcal_FIND_VERSION "0.33") | ||
62 | endif() | 41 | endif() | ||
63 | 42 | | |||
64 | find_package(PkgConfig QUIET) | 43 | find_package(PkgConfig QUIET) | ||
65 | pkg_check_modules(PC_LibIcal QUIET libical) | 44 | pkg_check_modules(PC_LibIcal QUIET libical) | ||
▲ Show 20 Lines • Show All 94 Lines • Show Last 20 Lines |