diff options
Diffstat (limited to 'modules/FindHUpnp.cmake')
-rw-r--r-- | modules/FindHUpnp.cmake | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/modules/FindHUpnp.cmake b/modules/FindHUpnp.cmake new file mode 100644 index 00000000..cd2b6216 --- /dev/null +++ b/modules/FindHUpnp.cmake @@ -0,0 +1,18 @@ +# - 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 HUpnp ) + +find_library( HUPNP_LIBS HUpnp ) + +include( FindPackageHandleStandardArgs ) + +find_package_handle_standard_args( HUpnp "Could not find HUPnP" HUPNP_INCLUDE_DIR HUPNP_LIBS ) + +mark_as_advanced( HUPNP_INCLUDE_DIR HUPNP_LIBS )
\ No newline at end of file |