summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/target_compile_features/no_target.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-06-26 17:48:21 (GMT)
committerBrad King <brad.king@kitware.com>2017-06-26 17:54:20 (GMT)
commit869904271ba0e8b855043894360b5dc7fe1e3b56 (patch)
tree58e8bdf1c231d44e45db751265cf8ab43b39e4af /Tests/RunCMake/target_compile_features/no_target.cmake
parent8fe54172fcb37e39e0f7e506e575bdd8c7171e8d (diff)
downloadCMake-869904271ba0e8b855043894360b5dc7fe1e3b56.zip
CMake-869904271ba0e8b855043894360b5dc7fe1e3b56.tar.gz
CMake-869904271ba0e8b855043894360b5dc7fe1e3b56.tar.bz2
Tests: Enable languages explicitly in RunCMake.target_compile_features
Enable C or CXX (or nothing) as needed in each test case. This will allow us to add test cases that do not enable CXX.
Diffstat (limited to 'Tests/RunCMake/target_compile_features/no_target.cmake')
-rw-r--r--Tests/RunCMake/target_compile_features/no_target.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/target_compile_features/no_target.cmake b/Tests/RunCMake/target_compile_features/no_target.cmake
index 3f0afe2..a514de8 100644
--- a/Tests/RunCMake/target_compile_features/no_target.cmake
+++ b/Tests/RunCMake/target_compile_features/no_target.cmake
@@ -1,2 +1,3 @@
+enable_language(CXX)
target_compile_features(main INTERFACE cxx_delegating_constructors)