Commit d6cde417 authored by Baptiste Esteban's avatar Baptiste Esteban
Browse files

Make pybind11 a requirement for the user

parent 0a06361e
Pipeline #26828 passed with stage
in 16 minutes and 39 seconds
......@@ -6,9 +6,10 @@ class PyleneTestConan(ConanFile):
settings = "os", "compiler", "build_type", "arch"
generators = [ "cmake_find_package", "cmake" ]
# Disable python packaging until cmake_find_package generator for pybind11 does not work
requires = ["pybind11/2.6.2"]
def _build_python(self):
return (self.options["pylene"].shared or self.options["pylene"].fPIC or tools.os_info.is_windows) and False
return self.options["pylene"].shared or self.options["pylene"].fPIC or tools.os_info.is_windows
def build(self):
cmake = CMake(self)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment