Require pybind 2.6 from environment for gmxapi Python package extension module.
[alexxy/gromacs.git] / python_packaging / sample_restraint / CMakeLists.pybind.in
1 cmake_minimum_required(VERSION 3.9)
2 project(pybind-download NONE)
3
4 include(ExternalProject)
5 ExternalProject_Add(pybind11
6                     GIT_REPOSITORY    https://github.com/pybind/pybind11.git
7                     GIT_TAG           v2.6
8                     SOURCE_DIR        "${CMAKE_CURRENT_BINARY_DIR}/pybind-src"
9                     BINARY_DIR        "${CMAKE_CURRENT_BINARY_DIR}/pybind-build"
10                     CONFIGURE_COMMAND ""
11                     BUILD_COMMAND     ""
12                     INSTALL_COMMAND   ""
13                     TEST_COMMAND      ""
14                     )