summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/set/ExtraEnvValue.cmake
diff options
context:
space:
mode:
authorTaylor Holberton <taylorcholberton@gmail.com>2019-02-01 00:26:14 (GMT)
committerBrad King <brad.king@kitware.com>2019-02-01 11:10:34 (GMT)
commitcb01b8c8ba1754b40e74d89d2c6dfef5dc8c44d3 (patch)
tree0c56204b6befc2f9ce85c397d7410bc5f5ccb994 /Tests/RunCMake/set/ExtraEnvValue.cmake
parentd526327079e23748dd2a87acd4d9b4b1174725bf (diff)
downloadCMake-cb01b8c8ba1754b40e74d89d2c6dfef5dc8c44d3.zip
CMake-cb01b8c8ba1754b40e74d89d2c6dfef5dc8c44d3.tar.gz
CMake-cb01b8c8ba1754b40e74d89d2c6dfef5dc8c44d3.tar.bz2
set: warn of extra arguments after ENV value.
Fixes: #18842
Diffstat (limited to 'Tests/RunCMake/set/ExtraEnvValue.cmake')
-rw-r--r--Tests/RunCMake/set/ExtraEnvValue.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/set/ExtraEnvValue.cmake b/Tests/RunCMake/set/ExtraEnvValue.cmake
new file mode 100644
index 0000000..768a6ea
--- /dev/null
+++ b/Tests/RunCMake/set/ExtraEnvValue.cmake
@@ -0,0 +1 @@
+set (ENV{sample_key} value_1 value_2)