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