2 # HUpnp is a Universal Plug and Play (UPnP) library
3 # used by the UPnP collection.
9 find_path(HUPNP_INCLUDE_DIR HUpnpCore HINTS ${KDE4_INCLUDE_DIR})
11 find_library(HUPNP_LIBS HUpnp PATHS ${KDE4_LIB_DIR})
14 message(STATUS "Include dir match (${KDE4_INCLUDE_DIR})")
15 endif(HUPNP_INCLUDE_DIR)
18 message(STATUS "Library dir match")
20 message(STATUS "Library not found in ${KDE4_LIB_DIR}")
23 if(HUPNP_INCLUDE_DIR AND HUPNP_LIBS)
25 message(STATUS "Found HUpnp")
26 else(HUPNP_INCLUDE_DIR and HUPNP_LIBS)
27 set(HUPNP_FOUND FALSE)
28 if(HUPNP_FIND_REQUIRED)
29 message(FATAL_ERROR "Could NOT find required package HUpnp: <http://herqq.org>")
30 endif(HUPNP_FIND_REQUIRED)
31 endif(HUPNP_INCLUDE_DIR AND HUPNP_LIBS)