Skip to content

Commit 4dceab7

Browse files
committed
Require pybind11 2.6 and update changelog.
1 parent c419584 commit 4dceab7

File tree

3 files changed

+22
-1
lines changed

3 files changed

+22
-1
lines changed

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,9 @@ endif()
172172

173173
# pybind11.
174174
find_package(pybind11 REQUIRED)
175+
if(${pybind11_VERSION} VERSION_LESS "2.6")
176+
message(FATAL_ERROR "pybind11 >= 2.6 is required, but version ${pybind11_VERSION} was found instead.")
177+
endif()
175178

176179
# Configure the sphinx config file.
177180
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/doc/conf.py.in" "${CMAKE_CURRENT_SOURCE_DIR}/doc/conf.py" @ONLY)

doc/changelog.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,24 @@
33
Changelog
44
=========
55

6+
2.16.1 (unreleased)
7+
-------------------
8+
9+
Changes
10+
~~~~~~~
11+
12+
- pygmo now requires pybind11 >= 2.6 when compiling
13+
from source
14+
(`#66 <https://github.com/esa/pygmo2/pull/66>`__).
15+
16+
Fix
17+
~~~
18+
19+
- Various doc and build system fixes
20+
(`#66 <https://github.com/esa/pygmo2/pull/66>`__,
21+
`#60 <https://github.com/esa/pygmo2/pull/60>`__).
22+
23+
624
2.16.0 (2020-09-25)
725
-------------------
826

doc/install.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ In order to install pygmo from source, you will need:
123123
* a C++17 capable compiler (recent versions of GCC,
124124
Clang or MSVC should do),
125125
* a `Python <https://www.python.org/>`__ installation,
126-
* `pybind11 <https://github.com/pybind/pybind11>`__,
126+
* `pybind11 <https://github.com/pybind/pybind11>`__ (version >= 2.6),
127127
* the `pagmo C++ library <https://esa.github.io/pagmo2/>`__,
128128
* the `Boost libraries <https://www.boost.org/>`__,
129129
* `CMake <https://cmake.org/>`__, version 3.8 or later.

0 commit comments

Comments
 (0)