diff options
-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 ) |