mirror of
https://github.com/pybind/pybind11.git
synced 2026-03-14 20:27:47 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user