-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMurmur3Config.cmake
59 lines (53 loc) · 1.58 KB
/
Murmur3Config.cmake
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# - Find Murmur3
#
# MURMUR3_FOUND - System has Murmur3
# MURMUR3_INCLUDE_DIRS - The Murmur3 include directories
# MURMUR3_LIBRARIES - The libraries needed to use Murmur3
# MURMUR3_DEFINITIONS - Compiler switches required for using Murmur3
#
# License:
#
# Copyright (c) 2011-2023 Made to Order Software Corp. All Rights Reserved
#
# https://snapwebsites.org/project/murmur3
#
# This program 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 3 of the License, or
# (at your option) any later version.
#
# This program 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
find_path(
MURMUR3_INCLUDE_DIR
murmur3/murmur3.h
PATHS
ENV MURMUR3_INCLUDE_DIR
)
find_library(
MURMUR3_LIBRARY
murmur3
PATHS
${MURMUR3_LIBRARY_DIR}
ENV MURMUR3_LIBRARY
)
mark_as_advanced(
MURMUR3_INCLUDE_DIR
MURMUR3_LIBRARY
)
set(MURMUR3_INCLUDE_DIRS ${MURMUR3_INCLUDE_DIR})
set(MURMUR3_LIBRARIES ${MURMUR3_LIBRARY})
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(
Murmur3
REQUIRED_VARS
MURMUR3_INCLUDE_DIR
MURMUR3_LIBRARY
)
# vim: ts=4 sw=4 et nocindent