git.samba.org
/
nss_wrapper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e686be6
)
cmake: Set default compile flags for nss_utils
author
Andreas Schneider
<asn@samba.org>
Wed, 25 Jan 2023 11:38:01 +0000
(12:38 +0100)
committer
Andreas Schneider
<asn@samba.org>
Wed, 25 Jan 2023 11:38:01 +0000
(12:38 +0100)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Pavel Filipenský <pfilipensky@samba.org>
src/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/src/CMakeLists.txt
b/src/CMakeLists.txt
index f56aad5bd204b3e860de2707efcee1fe839befaa..a92019175695fe34a0172b7e7718a876e01c07a8 100644
(file)
--- a/
src/CMakeLists.txt
+++ b/
src/CMakeLists.txt
@@
-1,6
+1,10
@@
project(libnss_wrapper C)
add_library(nss_utils STATIC nss_utils.c)
+target_compile_options(nss_utils
+ PRIVATE
+ ${DEFAULT_C_COMPILE_FLAGS})
+
add_library(nss_wrapper SHARED nss_wrapper.c)
target_compile_options(nss_wrapper
PRIVATE