mirror of
https://github.com/MariaDB/server.git
synced 2026-05-07 15:45:33 +02:00
Fix build with LDFLAGS=--Wl,--as-needed on Linux
This commit is contained in:
parent
3de0482551
commit
728c437a85
2 changed files with 14 additions and 2 deletions
|
|
@ -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 <term.h>
|
||||
int main()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue