Skip to content

Commit 0e6d983

Browse files
committed
add debug logs
1 parent 3f31b34 commit 0e6d983

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,9 @@ set_property(GLOBAL PROPERTY USE_FOLDERS ON)
8282
set(PYBIND11_PYTHON_VERSION 3.7)
8383

8484
# Find Python3
85+
message("--- find_package(Python) ---")
8586
find_package(Python ${PYBIND11_PYTHON_VERSION} COMPONENTS Interpreter Development REQUIRED)
87+
message("--- find_package(Python) done ---")
8688

8789
# Save PYTHON_* vars
8890
set(PYTHON_VERSION_RESET "${PYTHON_VERSION}")
@@ -102,7 +104,9 @@ set(PYTHON_LIBRARY "${Python_LIBRARY}" CACHE INTERNAL "" FORCE)
102104
set(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) ---")
105108
find_package(pybind11 2.3 CONFIG QUIET REQUIRED)
109+
message("--- find_package(pybind11) done ---")
106110

107111
# Reset PYTHON_* vars
108112
set(PYTHON_VERSION "${PYTHON_VERSION_RESET}" CACHE STRING "" FORCE)

0 commit comments

Comments
 (0)