Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make libgpm optional #35

Merged
merged 1 commit into from
Dec 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions cmake/extensions/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -817,8 +817,12 @@ add_python_extension(${bz2_${PY_VERSION_MAJOR}_NAME}
set(curses_common_REQUIRES CURSES_LIBRARIES)
set(curses_common_LIBRARIES ${CURSES_LIBRARIES})
if(WITH_STATIC_DEPENDENCIES)
list(APPEND curses_common_REQUIRES TINFO_LIBRARY GPM_LIBRARY)
list(APPEND curses_common_LIBRARIES ${TINFO_LIBRARY} ${GPM_LIBRARY})
list(APPEND curses_common_REQUIRES TINFO_LIBRARY)
list(APPEND curses_common_LIBRARIES ${TINFO_LIBRARY})
if(GPM_LIBRARY)
list(APPEND curses_common_REQUIRES GPM_LIBRARY)
list(APPEND curses_common_LIBRARIES ${GPM_LIBRARY})
endif()
endif()
add_python_extension(_curses_panel
REQUIRES ${curses_common_REQUIRES} PANEL_LIBRARIES "HAVE_PANEL_H OR HAVE_NCURSES_PANEL_H"
Expand Down
Loading