From 5c7a62287eea3d738940535c5212352ddf6a12f9 Mon Sep 17 00:00:00 2001 From: Vladislav Vaintroub Date: Sat, 19 Dec 2009 22:15:10 +0100 Subject: Fix build with LDFLAGS=--Wl,--as-needed on Linux --- cmd-line-utils/libedit/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd-line-utils') diff --git a/cmd-line-utils/libedit/CMakeLists.txt b/cmd-line-utils/libedit/CMakeLists.txt index 763da8a4e04..517cbb4211f 100644 --- a/cmd-line-utils/libedit/CMakeLists.txt +++ b/cmd-line-utils/libedit/CMakeLists.txt @@ -18,7 +18,7 @@ INCLUDE(CheckIncludeFile) include(CheckFunctionExists) CHECK_INCLUDE_FILES(term.h HAVE_TERM_H) -SET(CMAKE_REQUIRED_LIBRARIES ${CURSES_CURSES_LIBRARY}) +SET(CMAKE_REQUIRED_LIBRARIES ${CURSES_LIBRARY}) CHECK_CXX_SOURCE_COMPILES(" #include int main() -- cgit v1.2.1