summaryrefslogtreecommitdiffstats
path: root/foobar/CMakeLists.txt
diff options
context:
space:
mode:
authorBernhard Guillon <Bernhard.Guillon@begu.org>2026-06-30 20:56:43 +0200
committerBernhard Guillon <Bernhard.Guillon@begu.org>2026-06-30 20:56:43 +0200
commit9bb17da786318cf6c056bdc8a5bfb100ae7ae81c (patch)
treed05940c8ec6f37799148e034a9a6237dd08ec6d3 /foobar/CMakeLists.txt
parent914c5024e9005d06bb3f784c2bc230a58483fb9a (diff)
downloadcsharp-cmake-9bb17da786318cf6c056bdc8a5bfb100ae7ae81c.tar.gz
csharp-cmake-9bb17da786318cf6c056bdc8a5bfb100ae7ae81c.zip
Add Baz library with transitive PUBLIC dependency support
Diffstat (limited to 'foobar/CMakeLists.txt')
-rw-r--r--foobar/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/foobar/CMakeLists.txt b/foobar/CMakeLists.txt
index ef616c7..7fc83cb 100644
--- a/foobar/CMakeLists.txt
+++ b/foobar/CMakeLists.txt
@@ -1,3 +1,5 @@
add_dotnet_library(FooBar
SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/FooBar.cs
)
+
+target_link_dotnet_libraries(FooBar PUBLIC Baz)