File: FindLEVMAR.cmake

package info (click to toggle)
teem 1.12.0~20160122-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 12,404 kB
  • sloc: ansic: 152,549; python: 10,748; perl: 281; sh: 58; makefile: 44; cpp: 26
file content (24 lines) | stat: -rw-r--r-- 448 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

find_path(LEVMAR_INCLUDE_DIR levmar.h
  /usr/local/include/levmar
  /usr/local/include
  /usr/include
)

find_library(LEVMAR_LIBRARY levmar
  /usr/lib
  /usr/local/lib
)

set(LEVMAR_FOUND FALSE)
if(LEVMAR_INCLUDE_DIR AND LEVMAR_LIBRARY)
    set(LEVMAR_INCLUDE_DIRS ${LEVMAR_INCLUDE_DIR} )
    set(LEVMAR_LIBRARIES ${LEVMAR_LIBRARY} )
    set(LEVMAR_FOUND TRUE)
endif()

mark_as_advanced(
  LEVMAR_INCLUDE_DIR
  LEVMAR_LIBRARIES
  LEVMAR_FOUND
  )