summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/target_compile_features/invalid_args_on_interface.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/invalid_args_on_interface.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/invalid_args_on_interface.cmake')
-rw-r--r--Tests/RunCMake/target_compile_features/invalid_args_on_interface.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/target_compile_features/invalid_args_on_interface.cmake b/Tests/RunCMake/target_compile_features/invalid_args_on_interface.cmake
index 324d0f3..49d2d82 100644
--- a/Tests/RunCMake/target_compile_features/invalid_args_on_interface.cmake
+++ b/Tests/RunCMake/target_compile_features/invalid_args_on_interface.cmake
@@ -1,3 +1,4 @@
+enable_language(CXX)
add_library(main INTERFACE)
target_compile_features(main PRIVATE cxx_delegating_constructors)