13 lines
411 B
Diff
13 lines
411 B
Diff
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()
|