diff options
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/Modules/FindLibtransport.cmake | 3 | ||||
-rw-r--r-- | cmake/Modules/Packager.cmake | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/cmake/Modules/FindLibtransport.cmake b/cmake/Modules/FindLibtransport.cmake index 5910a64da..8a650b98c 100644 --- a/cmake/Modules/FindLibtransport.cmake +++ b/cmake/Modules/FindLibtransport.cmake @@ -35,7 +35,8 @@ find_path(LIBTRANSPORT_INCLUDE_DIR hicn/transport/config.h DOC "Find the libtransport includes" ) -find_library(LIBTRANSPORT_LIBRARY NAMES transport +find_library(LIBTRANSPORT_LIBRARY + NAMES hicntransport hicntransport-memif HINTS ${LIBTRANSPORT_SEARCH_PATH_LIST} PATH_SUFFIXES lib DOC "Find the libtransport libraries" diff --git a/cmake/Modules/Packager.cmake b/cmake/Modules/Packager.cmake index 15b5951fa..b19145025 100644 --- a/cmake/Modules/Packager.cmake +++ b/cmake/Modules/Packager.cmake @@ -82,7 +82,7 @@ macro(make_packages) set(CPACK_PACKAGE_VERSION "${deb_ver}") foreach(lc ${components}) - if (${lc} MATCHES "Unspecified.*") + if (${lc} MATCHES ".*Unspecified.*") continue() endif() @@ -110,7 +110,7 @@ macro(make_packages) set(CPACK_PACKAGE_VERSION "${rpm_ver}") foreach(lc ${components}) - if (${lc} MATCHES "Unspecified.*") + if (${lc} MATCHES ".*Unspecified.*") continue() endif() |