diff options
author | Brad King <brad.king@kitware.com> | 2021-04-20 18:52:01 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-04-20 20:04:08 (GMT) |
commit | b84f1e61595d4c9344a13fa4bf76d8a258757f1b (patch) | |
tree | 9ded0cd7dfe4f4bda7e97eae2af18fb6e7b3a905 /Tests/RunCMake/ObjectLibrary | |
parent | b0be93c5c73225517bba233f95f4775141ed3091 (diff) | |
download | CMake-b84f1e61595d4c9344a13fa4bf76d8a258757f1b.zip CMake-b84f1e61595d4c9344a13fa4bf76d8a258757f1b.tar.gz CMake-b84f1e61595d4c9344a13fa4bf76d8a258757f1b.tar.bz2 |
Autogen: Restore mocs_compilation in OBJECT libraries
Since commit f65f20938c (Autogen: Avoid processing CSharp targets,
2020-11-12, v3.20.0-rc1~301^2) we collect all sources for a target
earlier than previously. Clear the sources cache so that it will be
re-computed later after AUTOGEN processing.
Fixes: #22085
Diffstat (limited to 'Tests/RunCMake/ObjectLibrary')
-rw-r--r-- | Tests/RunCMake/ObjectLibrary/OwnSources-stderr.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/RunCMake/ObjectLibrary/OwnSources-stderr.txt b/Tests/RunCMake/ObjectLibrary/OwnSources-stderr.txt index cb1a2e5..69230b6 100644 --- a/Tests/RunCMake/ObjectLibrary/OwnSources-stderr.txt +++ b/Tests/RunCMake/ObjectLibrary/OwnSources-stderr.txt @@ -10,4 +10,10 @@ CMake Error at OwnSources.cmake:[0-9]+ \(add_library\): Call Stack \(most recent call first\): CMakeLists.txt:[0-9]+ \(include\) + +CMake Error at OwnSources.cmake:[0-9]+ \(add_library\): + The SOURCES of "A" use a generator expression that depends on the SOURCES + themselves. +Call Stack \(most recent call first\): + CMakeLists.txt:[0-9]+ \(include\) ++ CMake Generate step failed\. Build files cannot be regenerated correctly\.$ |