mirror of
https://github.com/pybind/pybind11.git
synced 2024-12-01 17:37:15 +00:00
Revert "Tell cmake to use EXACT python version (from PYBIND11_PYTHON_VERSION)."
This reverts commit 2f97147fc7
as per
suggestion in !65.
This commit is contained in:
parent
2f97147fc7
commit
6435a09034
@ -24,8 +24,8 @@ endif()
|
|||||||
string(TOUPPER "${CMAKE_BUILD_TYPE}" U_CMAKE_BUILD_TYPE)
|
string(TOUPPER "${CMAKE_BUILD_TYPE}" U_CMAKE_BUILD_TYPE)
|
||||||
|
|
||||||
set(Python_ADDITIONAL_VERSIONS 3.4 3.5 3.6)
|
set(Python_ADDITIONAL_VERSIONS 3.4 3.5 3.6)
|
||||||
find_package(PythonLibs ${PYBIND11_PYTHON_VERSION} EXACT REQUIRED)
|
find_package(PythonLibs ${PYBIND11_PYTHON_VERSION} REQUIRED)
|
||||||
find_package(PythonInterp ${PYBIND11_PYTHON_VERSION} EXACT REQUIRED)
|
find_package(PythonInterp ${PYBIND11_PYTHON_VERSION} REQUIRED)
|
||||||
|
|
||||||
include(CheckCXXCompilerFlag)
|
include(CheckCXXCompilerFlag)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user