mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-11 08:03:55 +00:00
Fix multi-context new Python linking mode (#4401)
Allow CMake find_package() from multiple directories. https://github.com/pybind/pybind11/issues/4400 Co-authored-by: Martin Blanchard <martin.blanchard@siemens.com>
This commit is contained in:
parent
ff42f5254a
commit
89c3561d9a
@ -9,7 +9,7 @@ if(CMAKE_VERSION VERSION_LESS 3.12)
|
|||||||
message(FATAL_ERROR "You cannot use the new FindPython module with CMake < 3.12")
|
message(FATAL_ERROR "You cannot use the new FindPython module with CMake < 3.12")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
include_guard(GLOBAL)
|
include_guard(DIRECTORY)
|
||||||
|
|
||||||
get_property(
|
get_property(
|
||||||
is_config
|
is_config
|
||||||
|
Loading…
Reference in New Issue
Block a user