-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
13 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
diff --git a/tools/pybind11NewTools.cmake b/tools/pybind11NewTools.cmake | ||
index 7d7424a7..c007fb01 100644 | ||
--- a/tools/pybind11NewTools.cmake | ||
+++ b/tools/pybind11NewTools.cmake | ||
@@ -23,6 +23,7 @@ else() | ||
endif() | ||
|
||
if(NOT Python_FOUND AND NOT Python3_FOUND) | ||
+ message(FATAL_ERROR "Should not pass here") | ||
if(NOT DEFINED Python_FIND_IMPLEMENTATIONS) | ||
set(Python_FIND_IMPLEMENTATIONS CPython PyPy) | ||
endif() |