[all-commits] [llvm/llvm-project] 58ba50: [cmake] Add missing CMakePushCheckState include to...
Michał Górny via All-commits
all-commits at lists.llvm.org
Thu Nov 10 16:58:00 PST 2022
Branch: refs/heads/release/15.x
Home: https://github.com/llvm/llvm-project
Commit: 58ba50a52edeff3cae9cfa3bdd0ee000873ffef9
https://github.com/llvm/llvm-project/commit/58ba50a52edeff3cae9cfa3bdd0ee000873ffef9
Author: Michał Górny <mgorny at gentoo.org>
Date: 2022-11-10 (Thu, 10 Nov 2022)
Changed paths:
M cmake/Modules/FindLibEdit.cmake
Log Message:
-----------
[cmake] Add missing CMakePushCheckState include to FindLibEdit.cmake
Add the missing include to fix an error when `cmake_push_check_state()`
is called and incidentally the CMakePushCheckState module is not loaded
by any other check running prior to `FindLibEdit.cmake`:
CMake Error at /var/no-tmpfs/portage/dev-util/lldb-15.0.4/work/cmake/Modules/FindLibEdit.cmake:24 (cmake_push_check_state):
Unknown CMake command "cmake_push_check_state".
Call Stack (most recent call first):
cmake/modules/LLDBConfig.cmake:52 (find_package)
cmake/modules/LLDBConfig.cmake:59 (add_optional_dependency)
CMakeLists.txt:28 (include)
Gentoo Bug: https://bugs.gentoo.org/880065
Differential Revision: https://reviews.llvm.org/D137555
(cherry picked from commit 3676a86a4322e8c2b9c541f057b5d3704146b8f3)
More information about the All-commits
mailing list