summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2021-03-15 08:18:15 +0100
committerAndreas Schneider <asn@samba.org>2021-03-15 08:18:15 +0100
commitbb5dcee4c28b0c64cfe19ed7f218b9970693dc2d (patch)
treef724d8f08f2b3e8f359634579a931f35178476fc
parent12d4d02399cce64eb0d7895b97b3faa169f04ed7 (diff)
downloadsocket_wrapper-bb5dcee4c28b0c64cfe19ed7f218b9970693dc2d.tar.gz
socket_wrapper-bb5dcee4c28b0c64cfe19ed7f218b9970693dc2d.tar.xz
socket_wrapper-bb5dcee4c28b0c64cfe19ed7f218b9970693dc2d.zip
cmake: Export cmake config for socket_wrapper_noop
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
-rw-r--r--src/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 5882992..3ea4a45 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -53,11 +53,15 @@ if (DEFINED DEFAULT_LINK_FLAGS)
endif()
install(TARGETS socket_wrapper_noop
+ EXPORT socket_wrapper_noop-config
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
)
+install(EXPORT socket_wrapper_noop-config
+ DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/socket_wrapper)
+
install(
FILES
${CMAKE_CURRENT_SOURCE_DIR}/socket_wrapper.h