refactor: import check as a common function (#2526)

* feat: import check as a common function

* docs: add cmake to docs
This commit is contained in:
Henry Schreiner
2020-10-02 22:34:22 -04:00
committed by GitHub
parent ca4127ce07
commit 3488494a81
10 changed files with 230 additions and 70 deletions

View File

@@ -189,3 +189,6 @@ function(pybind11_add_module target_name)
target_link_libraries(${target_name} PRIVATE pybind11::opt_size)
endif()
endfunction()
# Provide general way to call common Python commands in "common" file.
set(_Python PYTHON)