File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -7,9 +7,9 @@ enable_testing()
77
88add_subdirectory ("tensor-array-repo/Tensor-Array" EXCLUDE_FROM_ALL )
99
10- find_package (Python3 COMPONENTS Interpreter Development.Module REQUIRED)
10+ find_package (Python COMPONENTS Interpreter Development.Module REQUIRED)
1111
12- if (Python3_FOUND )
12+ if (Python_FOUND )
1313add_subdirectory ("third_party/pybind11" EXCLUDE_FROM_ALL )
1414pybind11_add_module(tensor2 SHARED src/tensor_array/_core/tensor_bind.cc)
1515
@@ -24,7 +24,7 @@ SET_TARGET_PROPERTIES(tensor2 PROPERTIES PREFIX "")
2424target_link_libraries (tensor2 PUBLIC TensorArray::Core)
2525
2626else ()
27- message (FATAL_ERROR "Python3 development files not found. Please install Python3 development package." )
27+ message (FATAL_ERROR "Python development files not found. Please install Python development package." )
2828endif ()
2929
3030
You can’t perform that action at this time.
0 commit comments