summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/GeneratorExpression/CMP0044-WARN.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-01-25 15:25:18 (GMT)
committerBrad King <brad.king@kitware.com>2018-01-25 15:50:20 (GMT)
commit234a069de3e365c20bc6ef42e83520a7e2547f95 (patch)
treeac9998534dc9c1187d58ba89fd233f634c0efaf7 /Tests/RunCMake/GeneratorExpression/CMP0044-WARN.cmake
parent7c30a3a3c321575ee8f3bd82b9e617456c2a7396 (diff)
downloadCMake-234a069de3e365c20bc6ef42e83520a7e2547f95.zip
CMake-234a069de3e365c20bc6ef42e83520a7e2547f95.tar.gz
CMake-234a069de3e365c20bc6ef42e83520a7e2547f95.tar.bz2
Tests: Speed up RunCMake.GeneratorExpression
Avoid enabling languages in cases that do not need them.
Diffstat (limited to 'Tests/RunCMake/GeneratorExpression/CMP0044-WARN.cmake')
-rw-r--r--Tests/RunCMake/GeneratorExpression/CMP0044-WARN.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/RunCMake/GeneratorExpression/CMP0044-WARN.cmake b/Tests/RunCMake/GeneratorExpression/CMP0044-WARN.cmake
index d5b85c9..dfa23e0 100644
--- a/Tests/RunCMake/GeneratorExpression/CMP0044-WARN.cmake
+++ b/Tests/RunCMake/GeneratorExpression/CMP0044-WARN.cmake
@@ -1,5 +1,5 @@
-project(CMP0044-WARN)
+enable_language(C)
string(TOLOWER ${CMAKE_C_COMPILER_ID} lc_test)
if (lc_test STREQUAL CMAKE_C_COMPILER_ID)