summaryrefslogtreecommitdiffstats
path: root/foobar/CMakeLists.txt
diff options
context:
space:
mode:
authorBernhard Guillon <Bernhard.Guillon@begu.org>2026-06-30 21:41:32 +0200
committerBernhard Guillon <Bernhard.Guillon@begu.org>2026-06-30 21:41:32 +0200
commitbf2f3e0acdf98020295732a3a63b7ddbc64a6d6a (patch)
tree5c92e0ea4874d72eefda81ac3c696389c6d68668 /foobar/CMakeLists.txt
parent1c9acabddfdce47a1b7db9275215450802ac709a (diff)
downloadcsharp-cmake-bf2f3e0acdf98020295732a3a63b7ddbc64a6d6a.tar.gz
csharp-cmake-bf2f3e0acdf98020295732a3a63b7ddbc64a6d6a.zip
Fix rebuild tracking by adding DEPENDS parameter for .dll file-level dependencies
Diffstat (limited to 'foobar/CMakeLists.txt')
-rw-r--r--foobar/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/foobar/CMakeLists.txt b/foobar/CMakeLists.txt
index 7fc83cb..f4ff2a7 100644
--- a/foobar/CMakeLists.txt
+++ b/foobar/CMakeLists.txt
@@ -1,5 +1,6 @@
add_dotnet_library(FooBar
SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/FooBar.cs
+ DEPENDS Baz
)
target_link_dotnet_libraries(FooBar PUBLIC Baz)