summaryrefslogtreecommitdiffstats
path: root/hello/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 /hello/CMakeLists.txt
parent914c5024e9005d06bb3f784c2bc230a58483fb9a (diff)
downloadcsharp-cmake-9bb17da786318cf6c056bdc8a5bfb100ae7ae81c.tar.gz
csharp-cmake-9bb17da786318cf6c056bdc8a5bfb100ae7ae81c.zip
Add Baz library with transitive PUBLIC dependency support
Diffstat (limited to 'hello/CMakeLists.txt')
-rw-r--r--hello/CMakeLists.txt4
1 files changed, 1 insertions, 3 deletions
diff --git a/hello/CMakeLists.txt b/hello/CMakeLists.txt
index d726950..b8db38c 100644
--- a/hello/CMakeLists.txt
+++ b/hello/CMakeLists.txt
@@ -3,6 +3,4 @@ add_dotnet_executable(HelloCMake
SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/Program.cs
)
-target_link_dotnet_libraries(HelloCMake
- LIBRARIES FooBar
-)
+target_link_dotnet_libraries(HelloCMake PRIVATE FooBar)