Skip to content

Commit

Permalink
Fix multi-context new Python linking mode (#4401)
Browse files Browse the repository at this point in the history
Allow CMake find_package() from multiple directories.

#4400

Co-authored-by: Martin Blanchard <martin.blanchard@siemens.com>
  • Loading branch information
mablanchard and mablanchard authored Dec 14, 2022
1 parent ff42f52 commit 89c3561
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/pybind11NewTools.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 89c3561

Please sign in to comment.