blob: 6e13b84c21a755b6c0e3c584507cf07242226a57 (
plain)
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
60
61
62
63
64
65
66
67
68
69
|
if(WIN32)
set(_check_files
[[bin]]
[[bin/exe\.exe]]
[[bin/(lib)?lib1\.dll]]
[[include]]
[[include/obj1\.h]]
[[include/obj2\.h]]
[[include/obj3\.h]]
[[lib]]
[[lib/(lib)?lib1\.(dll\.a|lib)]]
[[lib/(lib)?lib2\.(a|lib)]]
[[lib3]]
[[lib3/(lib)?lib3\.(dll\.a|lib)]]
[[lib4]]
[[lib4/(lib)?lib4\.dll]]
)
elseif(MSYS)
set(_check_files
[[bin]]
[[bin/exe\.exe]]
[[bin/msys-lib1\.dll]]
[[include]]
[[include/obj1\.h]]
[[include/obj2\.h]]
[[include/obj3\.h]]
[[lib]]
[[lib/liblib1\.dll\.a]]
[[lib/liblib2\.a]]
[[lib3]]
[[lib3/liblib3\.dll\.a]]
[[lib4]]
[[lib4/msys-lib4\.dll]]
)
elseif(CYGWIN)
set(_check_files
[[bin]]
[[bin/cyglib1\.dll]]
[[bin/exe\.exe]]
[[include]]
[[include/obj1\.h]]
[[include/obj2\.h]]
[[include/obj3\.h]]
[[lib]]
[[lib/liblib1\.dll\.a]]
[[lib/liblib2\.a]]
[[lib3]]
[[lib3/liblib3\.dll\.a]]
[[lib4]]
[[lib4/cyglib4\.dll]]
)
else()
set(_check_files
[[bin]]
[[bin/exe]]
[[include]]
[[include/obj1\.h]]
[[include/obj2\.h]]
[[include/obj3\.h]]
[[lib]]
[[lib/liblib1\.(dylib|so)]]
[[lib/liblib2\.a]]
[[lib3]]
[[lib3/liblib3\.(dylib|so)]]
[[lib4]]
[[lib4/liblib4\.(dylib|so)]]
)
endif()
check_installed("^${_check_files}$")
|