mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
The logic to select an imported configuration handled the case when `IMPORTED_CONFIGURATIONS` was missing, but assumed that if it was present, it was non-empty, which could cause CMake to crash if that happens. (To be fair, I believe this would never happen for imports generated by CMake.) Adjust the logic slightly to follow the same code path when `IMPORTED_CONFIGURATIONS` is empty as is taken if it's missing. Fixes: #28065
7 lines
204 B
Plaintext
7 lines
204 B
Plaintext
(CMake Error in CMakeLists.txt:
|
|
IMPORTED_LOCATION not set for imported target "imported"( configuration
|
|
"[A-Za-z]+")?\.
|
|
|
|
)+
|
|
CMake Generate step failed\. Build files cannot be regenerated correctly\.
|