diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-05-07 10:36:22 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-05-07 10:36:22 (GMT) |
commit | bbfd4cd48fd7966ac5a539028fc3e397643f5593 (patch) | |
tree | bce282b2cce445b21cac15f37eeecc4127a8d18a /Tests/RunCMake/target_compile_features | |
parent | c4f4dac2d550f0a8a44530187eac2ad03191c981 (diff) | |
download | CMake-bbfd4cd48fd7966ac5a539028fc3e397643f5593.zip CMake-bbfd4cd48fd7966ac5a539028fc3e397643f5593.tar.gz CMake-bbfd4cd48fd7966ac5a539028fc3e397643f5593.tar.bz2 |
Features: Include the language of the compiler in error messages.
Diffstat (limited to 'Tests/RunCMake/target_compile_features')
-rw-r--r-- | Tests/RunCMake/target_compile_features/no_matching_cxx_feature-stderr.txt | 2 | ||||
-rw-r--r-- | Tests/RunCMake/target_compile_features/no_matching_cxx_feature.cmake | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Tests/RunCMake/target_compile_features/no_matching_cxx_feature-stderr.txt b/Tests/RunCMake/target_compile_features/no_matching_cxx_feature-stderr.txt index 4c76c7a..f976dfe 100644 --- a/Tests/RunCMake/target_compile_features/no_matching_cxx_feature-stderr.txt +++ b/Tests/RunCMake/target_compile_features/no_matching_cxx_feature-stderr.txt @@ -1,5 +1,5 @@ CMake Error at no_matching_cxx_feature.cmake:[0-9][0-9]? \((target_compile_features|message)\): - The compiler feature "[^"]+" is not known to compiler + The compiler feature "[^"]+" is not known to CXX compiler "[^"]*" diff --git a/Tests/RunCMake/target_compile_features/no_matching_cxx_feature.cmake b/Tests/RunCMake/target_compile_features/no_matching_cxx_feature.cmake index 0452dbf..ab1fd76 100644 --- a/Tests/RunCMake/target_compile_features/no_matching_cxx_feature.cmake +++ b/Tests/RunCMake/target_compile_features/no_matching_cxx_feature.cmake @@ -3,7 +3,7 @@ if (NOT ";${CMAKE_CXX_COMPILE_FEATURES};" MATCHES ";gnu_cxx_typeof;" AND NOT ";${CMAKE_CXX_COMPILE_FEATURES};" MATCHES ";msvc_cxx_sealed;" ) # Simulate passing the test. message(SEND_ERROR - "The compiler feature \"gnu_cxx_dummy\" is not known to compiler\n\"GNU\"\nversion 4.8.1." + "The compiler feature \"gnu_cxx_dummy\" is not known to CXX compiler\n\"GNU\"\nversion 4.8.1." ) return() endif() |