mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-03 12:49:50 -05:00
VS: added support for C# (for Visual Studio 2010, 2012, 2013, 2015)
This commit is contained in:
@@ -34,10 +34,6 @@ if(NOT CMAKE_CSharp_COMPILER_WORKS)
|
||||
# Move result from cache to normal variable.
|
||||
set(CMAKE_CSharp_COMPILER_WORKS ${CMAKE_CSharp_COMPILER_WORKS})
|
||||
unset(CMAKE_CSharp_COMPILER_WORKS CACHE)
|
||||
if(NOT CMAKE_CSharp_COMPILER_WORKS)
|
||||
message("forcing compiler works to true (will be removed once C# support is integrated)")
|
||||
set(CMAKE_CSharp_COMPILER_WORKS 1)
|
||||
endif()
|
||||
set(CSharp_TEST_WAS_RUN 1)
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user