[prev in list] [next in list] [prev in thread] [next in thread]
List: samba-cvs
Subject: [SCM] Socket Wrapper Repository - branch master updated
From: Andreas Schneider <asn () samba ! org>
Date: 2023-02-23 14:22:47
Message-ID: E1pVCUh-003N4v-4s () hrx0 ! samba ! org
[Download RAW message or body]
The branch, master has been updated
via 97fe09e cmake: Fix cmocka >= 1.1.6 find_package() in CONFIG mode
from 3c945e0 Bump version to 1.4.0
https://git.samba.org/?p=socket_wrapper.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 97fe09e583f6e2ef94623c872e0c56bcd8817303
Author: Andreas Schneider <asn@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@samba.org>
Reviewed-by: Pavel Filipenský <pfilipensky@samba.org>
-----------------------------------------------------------------------
Summary of changes:
tests/CMakeLists.txt | 5 +++++
1 file changed, 5 insertions(+)
Changeset truncated at 500 lines:
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 6c3aae9..3748461 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -7,6 +7,11 @@ include_directories(
${CMOCKA_INCLUDE_DIR}
)
+# Required for cmocka >= 1.1.6
+if (TARGET cmocka::cmocka)
+ set(CMOCKA_LIBRARY cmocka::cmocka)
+endif()
+
set(TORTURE_LIBRARY torture)
# RFC862 echo server
--
Socket Wrapper Repository
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic