Add support for Python3.6 lib search with Cmake (#527)

* Add support for Python3.6 lib search with Cmake

A recent commit added support for python3.5 lib search with Cmake. This PR extends that to python 3.6.

Relevant old commit: 17a2c75ddf

* Turn python versions into a list
This commit is contained in:
Joost van Amersfoort 2017-04-07 16:02:37 +01:00 committed by Davis E. King
parent 99ee80d7f3
commit 664ef39806
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ if (PYTHON3)
if (NOT Boost_FOUND)
FIND_PACKAGE(Boost 1.41.0 COMPONENTS python)
endif()
set(Python_ADDITIONAL_VERSIONS 3.5)
set(Python_ADDITIONAL_VERSIONS 3.5 3.6)
FIND_PACKAGE(PythonLibs 3.4 REQUIRED)
else()
FIND_PACKAGE(Boost 1.41.0 COMPONENTS python)