[PATCH] D137555: [cmake] Add missing CMakePushCheckState include to FindLibEdit.cmake

Michał Górny via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 7 09:20:34 PST 2022


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG3676a86a4322: [cmake] Add missing CMakePushCheckState include to FindLibEdit.cmake (authored by mgorny).
Herald added a project: LLVM.

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D137555/new/

https://reviews.llvm.org/D137555

Files:
  cmake/Modules/FindLibEdit.cmake


Index: cmake/Modules/FindLibEdit.cmake
===================================================================
--- cmake/Modules/FindLibEdit.cmake
+++ cmake/Modules/FindLibEdit.cmake
@@ -21,6 +21,7 @@
 
 include(CheckIncludeFile)
 if(LibEdit_INCLUDE_DIRS AND EXISTS "${LibEdit_INCLUDE_DIRS}/histedit.h")
+  include(CMakePushCheckState)
   cmake_push_check_state()
   list(APPEND CMAKE_REQUIRED_INCLUDES ${LibEdit_INCLUDE_DIRS})
   list(APPEND CMAKE_REQUIRED_LIBRARIES ${LibEdit_LIBRARIES})


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137555.473713.patch
Type: text/x-patch
Size: 486 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221107/bd013ced/attachment.bin>


More information about the llvm-commits mailing list