diff options
author | June McEnroe <june@causal.agency> | 2022-03-15 16:38:22 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2022-03-15 16:38:22 -0400 |
commit | 40a1211b11a9968de89580f03bbb4d056e2861a1 (patch) | |
tree | 9a51fcb8356bb5bde50318101206a26fe48e852a | |
parent | dash: Link with editline via pkg-config (diff) | |
download | dash-40a1211b11a9968de89580f03bbb4d056e2861a1.tar.gz dash-40a1211b11a9968de89580f03bbb4d056e2861a1.zip |
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 9009ccd..1dcdc18 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -126,6 +126,7 @@ if(WITH_LIBEDIT) if(LIBEDIT_FOUND) link_libraries(PkgConfig::LIBEDIT) else() + unset(LIBEDIT_FOUND CACHE) check_include_file("histedit.h" HAVE_HISTEDIT_H) check_library_exists(edit history_init /usr/lib LIBEDIT_FOUND) if(HAVE_HISTEDIT_H AND LIBEDIT_FOUND) |