summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-04-10 13:33:02 (GMT)
committerBrad King <brad.king@kitware.com>2019-04-10 13:40:48 (GMT)
commit39e7fd8c68a1f039f089756352a418bd0ae36aea (patch)
treee7440a6158b41d62bfd3ec2146e6f3f5d1b4a419
parentbaed22c4b000d524f4890af86cf3c02dc885cba6 (diff)
downloadCMake-39e7fd8c68a1f039f089756352a418bd0ae36aea.zip
CMake-39e7fd8c68a1f039f089756352a418bd0ae36aea.tar.gz
CMake-39e7fd8c68a1f039f089756352a418bd0ae36aea.tar.bz2
Tests: Avoid enabling languages in RunCMake.CommandLine -S and -B cases
The test project does not compile any sources and so does not need to enable any languages.
-rw-r--r--Tests/RunCMake/CommandLine/ExplicitDirs/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tests/RunCMake/CommandLine/ExplicitDirs/CMakeLists.txt b/Tests/RunCMake/CommandLine/ExplicitDirs/CMakeLists.txt
index 0ca5a0a..fc62914 100644
--- a/Tests/RunCMake/CommandLine/ExplicitDirs/CMakeLists.txt
+++ b/Tests/RunCMake/CommandLine/ExplicitDirs/CMakeLists.txt
@@ -1,4 +1,5 @@
-cmake_minimum_required(VERSION 3.0.0 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.14)
+project(ExplicitDirs NONE)
add_custom_command(
OUTPUT output.txt
COMMAND ${CMAKE_COMMAND} -E echo CustomCommand > output.txt