/[gentoo-x86]/kde-misc/kio-upnp-ms/files/FindHUpnp.cmake
Gentoo

Contents of /kde-misc/kio-upnp-ms/files/FindHUpnp.cmake

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Mon Aug 15 16:56:36 2011 UTC (6 years, 10 months ago) by ottxor
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +0 -0 lines
FILE REMOVED
remove old

(Portage version: 2.1.10.3/cvs/Linux i686)

1 # - Find HUpnp
2 # HUpnp is a Universal Plug and Play (UPnP) library
3 # used by the UPnP collection.
4 # Defines:
5 # HUPNP_INCLUDE_DIR
6 # HUPNP_LIBS
7 # HUPNP_FOUND
8
9 find_path(HUPNP_INCLUDE_DIR
10 HUpnp HINTS
11 ${KDE4_INCLUDE_DIR}
12 /usr/include/HUpnpCore/
13 )
14
15 find_library(HUPNP_LIBS HUpnp PATHS ${KDE4_LIB_DIR})
16
17 if(HUPNP_INCLUDE_DIR AND HUPNP_LIBS)
18 set(HUPNP_FOUND TRUE)
19 message(STATUS "Found HUpnp")
20 else(HUPNP_INCLUDE_DIR and HUPNP_LIBS)
21 set(HUPNP_FOUND FALSE)
22 if(HUPNP_FIND_REQUIRED)
23 message(FATAL_ERROR "Could NOT find required package HUpnp: <http://herqq.org>")
24 endif(HUPNP_FIND_REQUIRED)
25 endif(HUPNP_INCLUDE_DIR AND HUPNP_LIBS)
26

  ViewVC Help
Powered by ViewVC 1.1.20