From 9bb17da786318cf6c056bdc8a5bfb100ae7ae81c Mon Sep 17 00:00:00 2001 From: Bernhard Guillon Date: Tue, 30 Jun 2026 20:56:43 +0200 Subject: Add Baz library with transitive PUBLIC dependency support --- hello/CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'hello') 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) -- cgit v1.2.3