From 32f81cf11322e683a2e25f9a7cc024cc0a8ec9f7 Mon Sep 17 00:00:00 2001 From: Jonathan Riddell Date: Mon, 22 Nov 2010 16:22:11 +0000 Subject: search for hupnp in the directory it gets installed to svn path=/trunk/KDE/kdelibs/; revision=1199754 --- modules/FindHUpnp.cmake | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'modules') diff --git a/modules/FindHUpnp.cmake b/modules/FindHUpnp.cmake index 89865ff3..bbff8335 100644 --- a/modules/FindHUpnp.cmake +++ b/modules/FindHUpnp.cmake @@ -7,7 +7,10 @@ # # Copyright (c) 2010, Paulo Romulo Alves Barros -find_path( HUPNP_INCLUDE_DIR HUpnp ) +find_path( HUPNP_INCLUDE_DIR + NAMES HUpnp + PATH_SUFFIXES HUpnpCore +) find_library( HUPNP_LIBS HUpnp ) @@ -15,4 +18,4 @@ include( FindPackageHandleStandardArgs ) find_package_handle_standard_args( HUpnp DEFAULT_MSG HUPNP_INCLUDE_DIR HUPNP_LIBS ) -mark_as_advanced( HUPNP_INCLUDE_DIR HUPNP_LIBS ) \ No newline at end of file +mark_as_advanced( HUPNP_INCLUDE_DIR HUPNP_LIBS ) -- cgit v1.2.1