diff options
author | Sumit Bhardwaj <bhardwajs@outlook.com> | 2022-02-01 15:02:13 (GMT) |
---|---|---|
committer | Sumit Bhardwaj <bhardwajs@outlook.com> | 2022-02-01 15:18:03 (GMT) |
commit | 5ee3154f651428b1a57d0d87be4e462728446842 (patch) | |
tree | 6b889e2b94b8a8febdc8759466324084fac85c44 /Tests/RunCMake | |
parent | 0294570d06a1ad884fa1f88ab5af682829cd6607 (diff) | |
download | CMake-5ee3154f651428b1a57d0d87be4e462728446842.zip CMake-5ee3154f651428b1a57d0d87be4e462728446842.tar.gz CMake-5ee3154f651428b1a57d0d87be4e462728446842.tar.bz2 |
VS: .Net SDK Style projects can add Reference to dlls
When support for `DOTNET_SDK` was added, only a minimal set of options
were built in. Based on user feedback, support for reference to dlls
(not just projects) is needed. That support is added here.
Fixes: #23166
Diffstat (limited to 'Tests/RunCMake')
-rw-r--r-- | Tests/RunCMake/VsDotnetSdk/VsDotnetSdk.cmake | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Tests/RunCMake/VsDotnetSdk/VsDotnetSdk.cmake b/Tests/RunCMake/VsDotnetSdk/VsDotnetSdk.cmake index 60066ab..c585f5e 100644 --- a/Tests/RunCMake/VsDotnetSdk/VsDotnetSdk.cmake +++ b/Tests/RunCMake/VsDotnetSdk/VsDotnetSdk.cmake @@ -15,4 +15,7 @@ add_executable(DotNetSdk csharponly.cs) target_link_libraries(DotNetSdk dotNetSdkLib1) set_target_properties(DotNetSdk PROPERTIES - VS_GLOBAL_RuntimeIdentifier win10-x64) + VS_GLOBAL_RuntimeIdentifier win10-x64 + + VS_DOTNET_REFERENCE_SomeDll + ${PROJECT_SOURCE_DIR}/SomeDll.dll) |