Package: nss-wrapper Version: 1.1.15-2 Severity: normal Tags: patch X-Debbugs-Cc: he...@debian.org
Hey, cmocka does not set CMOCKA_LIBRARY anymore with 1.1.6+. You can easly use cmoka as library name. I tested the attached patch locally and it makes the autopkgtests pass again. Regards, hefee
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 3b94076..e5feaaa 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -1,6 +1,6 @@ project(tests C) -set(TESTSUITE_LIBRARIES nss_utils ${NWRAP_REQUIRED_LIBRARIES} ${CMOCKA_LIBRARY}) +set(TESTSUITE_LIBRARIES nss_utils ${NWRAP_REQUIRED_LIBRARIES} cmocka) string(TOLOWER "${CMAKE_BUILD_TYPE}" CMAKE_BUILD_TYPE_LOWER) add_library(nss_nwrap SHARED nss_nwrap.c)