summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeCSharpCompiler.cmake.in
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-07-18 12:52:20 (GMT)
committerBrad King <brad.king@kitware.com>2018-07-18 12:53:32 (GMT)
commitc3ea50ede143d6a29f5d92745cd3a1964581a652 (patch)
treecbec6fa1dcf100704ba71c21d81f1f7dffb262ed /Modules/CMakeCSharpCompiler.cmake.in
parentf84c15ef2fa30dd074fcccafccec6b9b69266619 (diff)
downloadCMake-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.
Diffstat (limited to 'Modules/CMakeCSharpCompiler.cmake.in')
-rw-r--r--Modules/CMakeCSharpCompiler.cmake.in1
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@")