1 cmake_minimum_required(VERSION 3.9)
2 project(pybind-download NONE)
4 include(ExternalProject)
5 ExternalProject_Add(pybind11
6 GIT_REPOSITORY https://github.com/pybind/pybind11.git
8 SOURCE_DIR "${CMAKE_CURRENT_BINARY_DIR}/pybind-src"
9 BINARY_DIR "${CMAKE_CURRENT_BINARY_DIR}/pybind-build"