summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-09-05 13:58:49 (GMT)
committerBrad King <brad.king@kitware.com>2017-09-05 13:58:53 (GMT)
commit27816fa741560e3668639c0fa054d740de4abc6e (patch)
treed0859561902ed72b76204a48c22b2d4f5d0e2e88 /Modules
parent741eca9c6ca23258286e074355938fca16702765 (diff)
parenta3388900f88e2e576d17f635bbf3a7ed257804a3 (diff)
downloadCMake-27816fa741560e3668639c0fa054d740de4abc6e.zip
CMake-27816fa741560e3668639c0fa054d740de4abc6e.tar.gz
CMake-27816fa741560e3668639c0fa054d740de4abc6e.tar.bz2
Merge branch 'csharp_fix_initial_flags' into release-3.9
Merge-request: !1232
Diffstat (limited to 'Modules')
-rw-r--r--Modules/CMakeCSharpInformation.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeCSharpInformation.cmake b/Modules/CMakeCSharpInformation.cmake
index cd86016..f71dcef 100644
--- a/Modules/CMakeCSharpInformation.cmake
+++ b/Modules/CMakeCSharpInformation.cmake
@@ -43,7 +43,7 @@ endif()
# on the initial values computed in the platform/*.cmake files
# use _INIT variables so that this only happens the first time
# and you can set these flags in the cmake cache
-set(CMAKE_CSharp_FLAGS_INIT "$ENV{CSharpFLAGS} ${CMAKE_CSharp_FLAGS_INIT}")
+set(CMAKE_CSharp_FLAGS_INIT "$ENV{CSFLAGS} ${CMAKE_CSharp_FLAGS_INIT}")
# avoid just having a space as the initial value for the cache
if(CMAKE_CSharp_FLAGS_INIT STREQUAL " ")
set(CMAKE_CSharp_FLAGS_INIT)