aboutsummaryrefslogtreecommitdiff
path: root/cmake/NNGHelpers.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/NNGHelpers.cmake')
-rw-r--r--cmake/NNGHelpers.cmake8
1 files changed, 7 insertions, 1 deletions
diff --git a/cmake/NNGHelpers.cmake b/cmake/NNGHelpers.cmake
index d97d800c..b2daa1dc 100644
--- a/cmake/NNGHelpers.cmake
+++ b/cmake/NNGHelpers.cmake
@@ -1,5 +1,5 @@
#
-# Copyright 2020 Staysail Systems, Inc. <info@staysail.tech>
+# Copyright 2024 Staysail Systems, Inc. <info@staysail.tech>
#
# This software is supplied under the terms of the MIT License, a
# copy of which should be located in the distribution where this
@@ -55,6 +55,12 @@ function(nng_link_libraries)
target_link_libraries(nng_testing PRIVATE ${ARGN})
endfunction()
+function(nng_link_libraries_public)
+ target_link_libraries(nng PRIVATE ${ARGN})
+ target_link_libraries(nng_testing PRIVATE ${ARGN})
+endfunction()
+
+
# nng_include_directories adds include directories.
function(nng_include_directories)
target_include_directories(nng PRIVATE ${ARGN})