forked from ruslo/hunter
-
Notifications
You must be signed in to change notification settings - Fork 1
/
hunter.cmake
48 lines (43 loc) · 932 Bytes
/
hunter.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
include(hunter_add_version)
include(hunter_cacheable)
include(hunter_cmake_args)
include(hunter_download)
include(hunter_pick_scheme)
hunter_add_version(
PACKAGE_NAME
opusfile
VERSION
0.12-p1
URL
"https://github.com/cpp-pm/opusfile/archive/v0.12-p1.tar.gz"
SHA1
32d654a0cb6135022b81a25ee4aedc7ecaae3930
)
hunter_add_version(
PACKAGE_NAME
opusfile
VERSION
0.12-p0
URL
"https://github.com/cpp-pm/opusfile/archive/v0.12-p0.tar.gz"
SHA1
877447616c34b6dd7753ee1a883c713ca2f56773
)
hunter_add_version(
PACKAGE_NAME
opusfile
VERSION
0.12-p2
URL
"https://github.com/cpp-pm/opusfile/archive/v0.12-p2.tar.gz"
SHA1
b107f9c202672f7d37aca07bf7525a9d78231f66
)
hunter_cmake_args(
opusfile
CMAKE_ARGS
BUILD_OPUSURL=OFF
)
hunter_pick_scheme(DEFAULT url_sha1_cmake)
hunter_cacheable(opusfile)
hunter_download(PACKAGE_NAME opusfile)