diff options
author | Brad King <brad.king@kitware.com> | 2018-07-18 12:52:20 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-07-18 12:53:32 (GMT) |
commit | c3ea50ede143d6a29f5d92745cd3a1964581a652 (patch) | |
tree | cbec6fa1dcf100704ba71c21d81f1f7dffb262ed | |
parent | f84c15ef2fa30dd074fcccafccec6b9b69266619 (diff) | |
download | CMake-c3ea50ede143d6a29f5d92745cd3a1964581a652.zip CMake-c3ea50ede143d6a29f5d92745cd3a1964581a652.tar.gz CMake-c3ea50ede143d6a29f5d92745cd3a1964581a652.tar.bz2 |
CSharp: Set CMAKE_CSharp_COMPILER_LOADED variable when language is enabled
We already do this for C, CXX, Fortran, etc.
-rw-r--r-- | Modules/CMakeCSharpCompiler.cmake.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/CMakeCSharpCompiler.cmake.in b/Modules/CMakeCSharpCompiler.cmake.in index 5ecc480..3d49b6b 100644 --- a/Modules/CMakeCSharpCompiler.cmake.in +++ b/Modules/CMakeCSharpCompiler.cmake.in @@ -2,6 +2,7 @@ set(CMAKE_CSharp_COMPILER "@CMAKE_CSharp_COMPILER@") set(CMAKE_CSharp_COMPILER_ID "@CMAKE_CSharp_COMPILER_ID@") set(CMAKE_CSharp_COMPILER_VERSION "@CMAKE_CSharp_COMPILER_VERSION@") +set(CMAKE_CSharp_COMPILER_LOADED 1) set(CMAKE_CSharp_COMPILER_WORKS "@CMAKE_CSharp_COMPILER_WORKS@") set(CMAKE_CSharp_COMPILER_ID_RUN "@CMAKE_CSharp_COMPILER_ID_RUN@") |