File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,9 @@ set_property(GLOBAL PROPERTY USE_FOLDERS ON)
8282set (PYBIND11_PYTHON_VERSION 3.7)
8383
8484# Find Python3
85+ message ("--- find_package(Python) ---" )
8586find_package (Python ${PYBIND11_PYTHON_VERSION} COMPONENTS Interpreter Development REQUIRED)
87+ message ("--- find_package(Python) done ---" )
8688
8789# Save PYTHON_* vars
8890set (PYTHON_VERSION_RESET "${PYTHON_VERSION} " )
@@ -102,7 +104,9 @@ set(PYTHON_LIBRARY "${Python_LIBRARY}" CACHE INTERNAL "" FORCE)
102104set (PYTHON_INCLUDE_DIR "${Python_INCLUDE_DIR} " CACHE INTERNAL "" FORCE)
103105
104106# Set the minimum pybind11 version to 2.3 (before that the pybind11::embed target did not exist)
107+ message ("--- find_package(pybind11) ---" )
105108find_package (pybind11 2.3 CONFIG QUIET REQUIRED)
109+ message ("--- find_package(pybind11) done ---" )
106110
107111# Reset PYTHON_* vars
108112set (PYTHON_VERSION "${PYTHON_VERSION_RESET} " CACHE STRING "" FORCE)
You can’t perform that action at this time.
0 commit comments