diff options
| author | Bernhard Guillon <Bernhard.Guillon@begu.org> | 2026-06-30 21:41:32 +0200 |
|---|---|---|
| committer | Bernhard Guillon <Bernhard.Guillon@begu.org> | 2026-06-30 21:41:32 +0200 |
| commit | bf2f3e0acdf98020295732a3a63b7ddbc64a6d6a (patch) | |
| tree | 5c92e0ea4874d72eefda81ac3c696389c6d68668 /hello/CMakeLists.txt | |
| parent | 1c9acabddfdce47a1b7db9275215450802ac709a (diff) | |
| download | csharp-cmake-bf2f3e0acdf98020295732a3a63b7ddbc64a6d6a.tar.gz csharp-cmake-bf2f3e0acdf98020295732a3a63b7ddbc64a6d6a.zip | |
Fix rebuild tracking by adding DEPENDS parameter for .dll file-level dependencies
Diffstat (limited to 'hello/CMakeLists.txt')
| -rw-r--r-- | hello/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
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) |
