Skip to content

Commit 12eaf6d

Browse files
committed
cmake UPDATE fix licence information
1 parent 5745152 commit 12eaf6d

File tree

1 file changed

+25
-6
lines changed

1 file changed

+25
-6
lines changed

CMakeModules/FindCMocka.cmake

Lines changed: 25 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,31 @@
1212
#=============================================================================
1313
# Copyright (c) 2011-2012 Andreas Schneider <[email protected]>
1414
#
15-
# Distributed under the OSI-approved BSD License (the "License");
16-
# see accompanying file Copyright.txt for details.
15+
# Distributed under the OSI-approved BSD License (the "License").
16+
#
17+
# Redistribution and use in source and binary forms, with or without
18+
# modification, are permitted provided that the following conditions
19+
# are met:
20+
#
21+
# 1. Redistributions of source code must retain the copyright
22+
# notice, this list of conditions and the following disclaimer.
23+
# 2. Redistributions in binary form must reproduce the copyright
24+
# notice, this list of conditions and the following disclaimer in the
25+
# documentation and/or other materials provided with the distribution.
26+
# 3. The name of the author may not be used to endorse or promote products
27+
# derived from this software without specific prior written permission.
28+
#
29+
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
30+
# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
31+
# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
32+
# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
33+
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
34+
# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
35+
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
36+
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
37+
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
38+
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1739
#
18-
# This software is distributed WITHOUT ANY WARRANTY; without even the
19-
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
20-
# See the License for more information.
2140
#=============================================================================
2241
#
2342

@@ -30,7 +49,7 @@ find_path(CMOCKA_INCLUDE_DIR
3049

3150
find_library(CMOCKA_LIBRARY
3251
NAMES
33-
cmocka
52+
cmocka cmocka_shared
3453
PATHS
3554
${CMOCKA_ROOT_DIR}/include
3655
)

0 commit comments

Comments
 (0)