diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2022-01-12 09:51:19 (GMT) |
---|---|---|
committer | Marc Chevrier <marc.chevrier@gmail.com> | 2022-01-14 22:22:01 (GMT) |
commit | 660e0d80aeb3f39712d376471a71f823c86b3b2d (patch) | |
tree | 66a7bf74dbff22cb84413a5b2da592475e1ec6df /Tests | |
parent | 50cfe54402ef30ff308b545c0e277ee8636124f9 (diff) | |
download | CMake-660e0d80aeb3f39712d376471a71f823c86b3b2d.zip CMake-660e0d80aeb3f39712d376471a71f823c86b3b2d.tar.gz CMake-660e0d80aeb3f39712d376471a71f823c86b3b2d.tar.bz2 |
internal/CheckCompilerFlag: rely on common configuration
Extract configuration step from the CheckCompilerFlag command
to enable to share it with future CheckLinkerFlag implementation
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/RunCMake/CheckCompilerFlag/NonExistentLanguage-stderr.txt | 2 | ||||
-rw-r--r-- | Tests/RunCMake/CheckCompilerFlag/NotEnabledLanguage-stderr.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Tests/RunCMake/CheckCompilerFlag/NonExistentLanguage-stderr.txt b/Tests/RunCMake/CheckCompilerFlag/NonExistentLanguage-stderr.txt index 89d0565..99491e8 100644 --- a/Tests/RunCMake/CheckCompilerFlag/NonExistentLanguage-stderr.txt +++ b/Tests/RunCMake/CheckCompilerFlag/NonExistentLanguage-stderr.txt @@ -1,2 +1,2 @@ -CMake Error at .*CheckCompilerFlag\.cmake:[0-9]+ \(message\): +CMake Error at .*CheckFlagCommonConfig\.cmake:[0-9]+ \(message\): check_compiler_flag: FAKE_LANG: unknown language. diff --git a/Tests/RunCMake/CheckCompilerFlag/NotEnabledLanguage-stderr.txt b/Tests/RunCMake/CheckCompilerFlag/NotEnabledLanguage-stderr.txt index 23dd4a1..82c47e3 100644 --- a/Tests/RunCMake/CheckCompilerFlag/NotEnabledLanguage-stderr.txt +++ b/Tests/RunCMake/CheckCompilerFlag/NotEnabledLanguage-stderr.txt @@ -1,2 +1,2 @@ -CMake Error at .*CheckCompilerFlag\.cmake:[0-9]+ \(message\): +CMake Error at .*CheckFlagCommonConfig\.cmake:[0-9]+ \(message\): check_compiler_flag: C: needs to be enabled before use. |