mirror of
https://bitbucket.org/smil3y/kde-extraapps.git
synced 2025-02-25 11:22:55 +00:00
23 lines
636 B
CMake
23 lines
636 B
CMake
![]() |
# - Find HUpnp
|
||
|
# HUpnp is a Universal Plug and Play (UPnP) library
|
||
|
# used by the UPnP collection.
|
||
|
# Defines:
|
||
|
# HUPNP_INCLUDE_DIR
|
||
|
# HUPNP_LIBRARIES
|
||
|
# HUPNP_FOUND
|
||
|
|
||
|
find_path(HUPNP_INCLUDE_DIR HUpnp HINTS ${KDE4_INCLUDE_DIR})
|
||
|
|
||
|
find_library(HUPNP_LIBRARIES HUpnp PATHS ${KDE4_LIB_DIR})
|
||
|
|
||
|
if(HUPNP_INCLUDE_DIR AND HUPNP_LIBRARIES)
|
||
|
set(HUPNP_FOUND TRUE)
|
||
|
message(STATUS "Found HUpnp")
|
||
|
else(HUPNP_INCLUDE_DIR and HUPNP_LIBRARIES)
|
||
|
set(HUPNP_FOUND FALSE)
|
||
|
if(HUPNP_FIND_REQUIRED)
|
||
|
message(FATAL_ERROR "Could NOT find required package HUpnp: <http://herqq.org>")
|
||
|
endif(HUPNP_FIND_REQUIRED)
|
||
|
endif(HUPNP_INCLUDE_DIR AND HUPNP_LIBRARIES)
|
||
|
|