diff options
author | Jonathan Riddell <jr@jriddell.org> | 2010-11-22 16:22:11 +0000 |
---|---|---|
committer | Jonathan Riddell <jr@jriddell.org> | 2010-11-22 16:22:11 +0000 |
commit | 32f81cf11322e683a2e25f9a7cc024cc0a8ec9f7 (patch) | |
tree | 89d8a93254225c2fe0a8d83ee0aa5d2e6f0c6850 | |
parent | 688ff8be0ef694a064ebf70a9849a784614d6c21 (diff) | |
download | extra-cmake-modules-32f81cf11322e683a2e25f9a7cc024cc0a8ec9f7.tar.gz extra-cmake-modules-32f81cf11322e683a2e25f9a7cc024cc0a8ec9f7.tar.bz2 |
search for hupnp in the directory it gets installed to
svn path=/trunk/KDE/kdelibs/; revision=1199754
-rw-r--r-- | modules/FindHUpnp.cmake | 7 |
1 files changed, 5 insertions, 2 deletions
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 <paulo.romulo@kdemail.net> -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 ) |