summaryrefslogtreecommitdiffstats
path: root/Tests/EnforceConfig.cmake.in
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2019-10-12 16:49:04 (GMT)
committerBrad King <brad.king@kitware.com>2019-10-18 18:37:33 (GMT)
commit8065a686ddcb54b10fd6758eca24280f3e68926b (patch)
tree26160936788f23291802c1639be94a9b4a9cd463 /Tests/EnforceConfig.cmake.in
parent493c4e781a35a92c5c912b22493b84de750b1fe1 (diff)
downloadCMake-8065a686ddcb54b10fd6758eca24280f3e68926b.zip
CMake-8065a686ddcb54b10fd6758eca24280f3e68926b.tar.gz
CMake-8065a686ddcb54b10fd6758eca24280f3e68926b.tar.bz2
Initialize CMAKE_EXPORT_COMPILE_COMMANDS from envvar of the same name
Fixes: #18386
Diffstat (limited to 'Tests/EnforceConfig.cmake.in')
-rw-r--r--Tests/EnforceConfig.cmake.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/EnforceConfig.cmake.in b/Tests/EnforceConfig.cmake.in
index b7587aa..7781ded 100644
--- a/Tests/EnforceConfig.cmake.in
+++ b/Tests/EnforceConfig.cmake.in
@@ -33,5 +33,6 @@ unset(ENV{CMAKE_GENERATOR})
unset(ENV{CMAKE_GENERATOR_INSTANCE})
unset(ENV{CMAKE_GENERATOR_PLATFORM})
unset(ENV{CMAKE_GENERATOR_TOOLSET})
+unset(ENV{CMAKE_EXPORT_COMPILE_COMMANDS})
@TEST_HOME_ENV_CODE@