[0f0548]: CMakeModules / FindPANO13.cmake  Maximize  Restore  History

Download this file

48 lines (41 with data), 1.5 kB

 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
# - Find PANO13 headers and libraries
# modified for Hugin 0.7 Windows build 02Nov2007 TKSharpless
# reads cache variable
# SOURCE_BASE_DIR -- directory that contains hugin source root
# defines cache vars
# PANO13_INCLUDE_DIR, where to find pano13/panorama.h, etc.
# PANO13_LIBRARIES, release link library list.
# PANO13_DEBUG_LIBRARIES, debug ditto.
# PANO13_FOUND, If != "YES", do not try to use PANO13.
## NOTE the form "pano13/panorama.h" is used in #includes in
## some hugin source files, so we are stuck with that.
FIND_PATH(PANO13_INCLUDE_DIR pano13/panorama.h
/usr/local/include
/usr/include
${SOURCE_BASE_DIR}/libpano13/include
${SOURCE_BASE_DIR}/libpano
${SOURCE_BASE_DIR}
)
FIND_LIBRARY(PANO13_LIBRARIES
NAMES pano13
PATHS /usr/lib /usr/local/lib
"${PANO13_INCLUDE_DIR}/pano13/Release LIB CMD"
"${PANO13_INCLUDE_DIR}/pano13/Release CMD/Win32"
${PANO13_INCLUDE_DIR}/pano13/Release
${SOURCE_BASE_DIR}/libpano13/lib
${SOURCE_BASE_DIR}/pano13
)
IF(PANO13_INCLUDE_DIR)
IF(PANO13_LIBRARIES)
SET( PANO13_FOUND "YES" )
FIND_LIBRARY( PANO13_DEBUG_LIBRARIES
NAMES Panotools pano13d pano13
PATHS /usr/lib /usr/local/lib
"${PANO13_INCLUDE_DIR}/pano13/Debug LIB CMD"
"${PANO13_INCLUDE_DIR}/pano13/Debug CMD/Win32"
${PANO13_INCLUDE_DIR}/pano13/Debug
${SOURCE_BASE_DIR}/pano13/lib
${SOURCE_BASE_DIR}/pano13
)
ENDIF(PANO13_LIBRARIES)
ENDIF(PANO13_INCLUDE_DIR)

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks