File: FindUdunits.cmake

package info (click to toggle)
gnudatalanguage 1.1.3-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 80,832 kB
  • sloc: cpp: 198,435; ansic: 47,740; sh: 691; python: 474; makefile: 149; xml: 69; f90: 28
file content (19 lines) | stat: -rw-r--r-- 658 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#
# copyright : (c) 2010 Maxime Lenoir, Alain Coulais,
#                      Sylwester Arabas and Orion Poplawski
#
#  This program is free software; you can redistribute it and/or modify
#  it under the terms of the GNU General Public License as published by
#  the Free Software Foundation; either version 2 of the License, or
#  (at your option) any later version.
#

find_library(UDUNITS_LIBRARIES NAMES udunits2)
find_path(UDUNITS_INCLUDE_DIR NAMES udunits2.h)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(Udunits DEFAULT_MSG UDUNITS_LIBRARIES UDUNITS_INCLUDE_DIR)

mark_as_advanced(
UDUNITS_LIBRARIES
UDUNITS_INCLUDE_DIR
)