From bf2f3e0acdf98020295732a3a63b7ddbc64a6d6a Mon Sep 17 00:00:00 2001 From: Bernhard Guillon Date: Tue, 30 Jun 2026 21:41:32 +0200 Subject: Fix rebuild tracking by adding DEPENDS parameter for .dll file-level dependencies --- hello/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'hello/CMakeLists.txt') diff --git a/hello/CMakeLists.txt b/hello/CMakeLists.txt index b8db38c..a6fb31c 100644 --- a/hello/CMakeLists.txt +++ b/hello/CMakeLists.txt @@ -1,6 +1,7 @@ add_dotnet_executable(HelloCMake MAIN Program SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/Program.cs + DEPENDS FooBar ) target_link_dotnet_libraries(HelloCMake PRIVATE FooBar) -- cgit v1.2.3