CMake: require python3

This commit is contained in:
nick black 2020-01-07 15:29:04 -05:00 committed by Nick Black
parent 9f103d36e2
commit fac377b2bc
2 changed files with 5 additions and 0 deletions

View File

@ -269,6 +269,10 @@ write_basic_package_version_file(
COMPATIBILITY SameMajorVersion COMPATIBILITY SameMajorVersion
) )
# Python bindings
find_package(Python3 COMPONENTS Development REQUIRED)
# FIXME
# Installation # Installation
install(FILES install(FILES
${CMAKE_CURRENT_BINARY_DIR}/notcursesConfig.cmake ${CMAKE_CURRENT_BINARY_DIR}/notcursesConfig.cmake

View File

@ -107,6 +107,7 @@ that fine library.
* From NCURSES: terminfo 6.1+ * From NCURSES: terminfo 6.1+
* (OPTIONAL) From FFMpeg: libswscale 5.0+, libavformat 57.0+, libavutil 56.0+ * (OPTIONAL) From FFMpeg: libswscale 5.0+, libavformat 57.0+, libavutil 56.0+
* (documentation) [pandoc](https://pandoc.org/index.html) 1.19.2+ * (documentation) [pandoc](https://pandoc.org/index.html) 1.19.2+
* (Python bindings): Python + CFFI
### Building ### Building