Last change
on this file since 1045 was
790,
checked in by nicolasc, 17 years ago
|
merged FICN back into trunk
awaiting release.
|
File size:
2.1 KB
|
Line | |
---|
1 | |
---|
2 | #SET(OGGVORBIS_LIBRARY_DIR "/usr/pack/oggvorbis-1.0-ds/i686-debian-linux3.0/lib") |
---|
3 | #SET(OGGVORBIS_LIBRARY "-L ${OGGVORBIS_LIBRARY_DIR} -lvorbisenc -lvorbisfile -logg -lvorbis ") |
---|
4 | #SET(OGGVORBIS_INCLUDE_DIR "/usr/pack/oggvorbis-1.0-ds/i686-debian-linux3.0/include") |
---|
5 | |
---|
6 | # |
---|
7 | # Includes |
---|
8 | # |
---|
9 | |
---|
10 | FIND_PATH(OGG_INCLUDE_DIR ogg/ogg.h |
---|
11 | /usr/pack/oggvorbis-1.0-ds/i686-debian-linux3.0/include # Tardis specific hack |
---|
12 | /usr/local/include |
---|
13 | /usr/include |
---|
14 | /sw/include |
---|
15 | /opt/local/include |
---|
16 | /opt/csw/include |
---|
17 | /opt/csw/include |
---|
18 | /opt/include |
---|
19 | ../libs/libogg-1.1.3/include |
---|
20 | ) |
---|
21 | |
---|
22 | FIND_PATH(VORBIS_INCLUDE_DIR vorbis/codec.h |
---|
23 | /usr/pack/oggvorbis-1.0-ds/i686-debian-linux3.0/include # Tardis specific hack |
---|
24 | /usr/local/include |
---|
25 | /usr/include |
---|
26 | /sw/include |
---|
27 | /opt/local/include |
---|
28 | /opt/csw/include |
---|
29 | /opt/csw/include |
---|
30 | /opt/include |
---|
31 | ../libs/libvorbis-1.2.0/include |
---|
32 | ) |
---|
33 | |
---|
34 | # |
---|
35 | # Libs |
---|
36 | # |
---|
37 | |
---|
38 | FIND_LIBRARY(OGG_LIBRARY |
---|
39 | NAMES ogg |
---|
40 | PATHS |
---|
41 | /usr/pack/oggvorbis-1.0-ds/i686-debian-linux3.1/lib |
---|
42 | /usr/local/lib |
---|
43 | /usr/lib |
---|
44 | /sw/lib |
---|
45 | /opt/local/lib |
---|
46 | /opt/csw/lib |
---|
47 | /opt/lib |
---|
48 | ../libs/libogg-1.1.3/src/.libs |
---|
49 | ) |
---|
50 | |
---|
51 | FIND_LIBRARY(VORBIS_LIBRARY |
---|
52 | NAMES vorbis |
---|
53 | PATHS |
---|
54 | /usr/pack/oggvorbis-1.0-ds/i686-debian-linux3.1/lib |
---|
55 | /usr/local/lib |
---|
56 | /usr/lib |
---|
57 | /sw/lib |
---|
58 | /opt/local/lib |
---|
59 | /opt/csw/lib |
---|
60 | /opt/lib |
---|
61 | ../libs/libvorbis-1.2.0/lib/.libs |
---|
62 | ) |
---|
63 | |
---|
64 | FIND_LIBRARY(VORBISENC_LIBRARY |
---|
65 | NAMES vorbisenc |
---|
66 | PATHS |
---|
67 | /usr/pack/oggvorbis-1.0-ds/i686-debian-linux3.1/lib |
---|
68 | /usr/local/lib |
---|
69 | /usr/lib |
---|
70 | /sw/lib |
---|
71 | /opt/local/lib |
---|
72 | /opt/csw/lib |
---|
73 | /opt/lib |
---|
74 | ../libs/libvorbis-1.2.0/lib/.libs |
---|
75 | ) |
---|
76 | |
---|
77 | FIND_LIBRARY(VORBISFILE_LIBRARY |
---|
78 | NAMES vorbisfile |
---|
79 | PATHS |
---|
80 | /usr/pack/oggvorbis-1.0-ds/i686-debian-linux3.1/lib |
---|
81 | /usr/local/lib |
---|
82 | /usr/lib |
---|
83 | /sw/lib |
---|
84 | /opt/local/lib |
---|
85 | /opt/csw/lib |
---|
86 | /opt/lib |
---|
87 | ../libs/libvorbis-1.2.0/lib/.libs |
---|
88 | ) |
---|
89 | |
---|
90 | SET(OGG_FOUND "NO") |
---|
91 | IF(OGG_LIBRARY) |
---|
92 | SET(OGG_FOUND "YES") |
---|
93 | MESSAGE(STATUS "Ogg was found.") |
---|
94 | ENDIF(OGG_LIBRARY) |
---|
95 | |
---|
96 | SET(VORBIS_FOUND "NO") |
---|
97 | IF(VORBIS_LIBRARY) |
---|
98 | SET(VORBIS_FOUND "YES") |
---|
99 | MESSAGE(STATUS "Vorbis was found.") |
---|
100 | ENDIF(VORBIS_LIBRARY) |
---|
101 | |
---|
Note: See
TracBrowser
for help on using the repository browser.