mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-25 12:23:09 +00:00
Stop linking against libform in cmake build
Switch to ${CURSES_LIBRARY} and ${CURSES_EXTRA_LIBRARY} instead of ${CURSES_LIBRARIES} to reduce the linked libraries in the CMake build.
This commit is contained in:
parent
cb9c077850
commit
2ca7b88d49
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ ENDFUNCTION(FISH_LINK_DEPS)
|
|||
ADD_LIBRARY(fishlib STATIC ${FISH_SRCS})
|
||||
TARGET_SOURCES(fishlib PRIVATE ${FISH_HEADERS})
|
||||
TARGET_LINK_LIBRARIES(fishlib
|
||||
${CURSES_LIBRARIES} Threads::Threads ${CMAKE_DL_LIBS}
|
||||
${CURSES_LIBRARY} ${CURSES_EXTRA_LIBRARY} Threads::Threads ${CMAKE_DL_LIBS}
|
||||
${PCRE2_LIB} muparser)
|
||||
|
||||
# builtin_math.cpp needs to see muParser's built header.
|
||||
|
|
Loading…
Reference in a new issue