|
|
|
|
77
|
message( STATUS "pybind11 was found" )
|
77
|
message( STATUS "pybind11 was found" )
|
78
|
else()
|
78
|
else()
|
79
|
message( STATUS "pybind11 was NOT found, please build or remove LEMMA_PYTHON3_BINDINGS" )
|
79
|
message( STATUS "pybind11 was NOT found, please build or remove LEMMA_PYTHON3_BINDINGS" )
|
|
|
80
|
+ find_package (Python COMPONENTS Interpreter Development)
|
80
|
find_package(PythonLibs 3.0 REQUIRED)
|
81
|
find_package(PythonLibs 3.0 REQUIRED)
|
81
|
ExternalProject_Add(pybind11
|
82
|
ExternalProject_Add(pybind11
|
82
|
GIT_REPOSITORY "https://github.com/pybind/pybind11.git"
|
83
|
GIT_REPOSITORY "https://github.com/pybind/pybind11.git"
|
83
|
- GIT_TAG "v2.4.3" # "master" #"v2.4.3" #"master"
|
|
|
|
|
84
|
+ GIT_TAG "v2.5.0" # "master" #"v2.4.3" #"master"
|
84
|
UPDATE_COMMAND ""
|
85
|
UPDATE_COMMAND ""
|
85
|
PATCH_COMMAND ""
|
86
|
PATCH_COMMAND ""
|
86
|
PREFIX ${CMAKE_CURRENT_BINARY_DIR}/external/pybind11
|
87
|
PREFIX ${CMAKE_CURRENT_BINARY_DIR}/external/pybind11
|