aboutsummaryrefslogtreecommitdiff
path: root/modules/FindHUpnp.cmake
blob: bbff8335bbd20304df65b8eaa4a1fb82915e9f34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# - Try to find HUPnP library
#  Once done this will define
#
#  HUPNP_FOUND - system has HUPnP
#  HUPNP_INCLUDE_DIR - the LIBHUpnp include directory
#  HUPNP_LIBS - the LIBHUpnp libraries
#
# Copyright (c) 2010, Paulo Romulo Alves Barros <paulo.romulo@kdemail.net>

find_path( HUPNP_INCLUDE_DIR
     NAMES HUpnp
     PATH_SUFFIXES HUpnpCore
)

find_library( HUPNP_LIBS HUpnp )

include( FindPackageHandleStandardArgs )

find_package_handle_standard_args( HUpnp DEFAULT_MSG HUPNP_INCLUDE_DIR HUPNP_LIBS )

mark_as_advanced( HUPNP_INCLUDE_DIR HUPNP_LIBS )