[SCM] Priv Wrapper Repository - branch main updated

Andreas Schneider asn at samba.org
Mon Feb 27 10:32:21 UTC 2023


The branch, main has been updated
       via  295bcbe cmake: Fix cmocka >= 1.1.6 find_package() in CONFIG mode
      from  f387dad Bump version to 1.0.1

https://git.samba.org/?p=priv_wrapper.git;a=shortlog;h=main


- Log -----------------------------------------------------------------
commit 295bcbe9de1fb37531678d482efb12583b77c6d0
Author: Andreas Schneider <asn at samba.org>
Date:   Fri Feb 17 17:51:27 2023 +0100

    cmake: Fix cmocka >= 1.1.6 find_package() in CONFIG mode
    
    Signed-off-by: Andreas Schneider <asn at samba.org>
    Reviewed-by: Pavel Filipenský <pfilipensky at samba.org>

-----------------------------------------------------------------------

Summary of changes:
 tests/CMakeLists.txt | 4 ++++
 1 file changed, 4 insertions(+)


Changeset truncated at 500 lines:

diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index d33cf15..46147cf 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -1,5 +1,9 @@
 project(tests C)
 
+if (TARGET cmocka::cmocka)
+    set(CMOCKA_LIBRARY cmocka::cmocka)
+endif()
+
 include_directories(
   ${CMAKE_BINARY_DIR}
   ${CMAKE_CURRENT_SOURCE_DIR}


-- 
Priv Wrapper Repository



More information about the samba-cvs mailing list