File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
cmake_minimum_required (VERSION 3.18.0 )
2
2
3
- project (TensorArray_Python VERSION 0.1.0 LANGUAGES C CXX )
3
+ project (TensorArray_Python VERSION 0.0.4 LANGUAGES C CXX )
4
4
5
5
include (CTest )
6
6
enable_testing ()
7
7
8
8
add_subdirectory ("tensor-array-repo/Tensor-Array" EXCLUDE_FROM_ALL )
9
9
10
- find_package (Python COMPONENTS Interpreter Development.Embed REQUIRED )
10
+ find_package (Python3 COMPONENTS Interpreter Development.Module REQUIRED )
11
11
12
- if (Python_FOUND )
12
+ if (Python3_FOUND )
13
13
add_subdirectory ("third_party/pybind11" EXCLUDE_FROM_ALL )
14
14
pybind11_add_module (tensor2 SHARED src/tensor_array/_core/tensor_bind.cc )
15
15
@@ -24,7 +24,7 @@ SET_TARGET_PROPERTIES(tensor2 PROPERTIES PREFIX "")
24
24
target_link_libraries (tensor2 PUBLIC TensorArray::Core )
25
25
26
26
else ()
27
- message (FATAL_ERROR "Python development files not found. Please install Python development package." )
27
+ message (FATAL_ERROR "Python3 development files not found. Please install Python3 development package." )
28
28
endif ()
29
29
30
30
You can’t perform that action at this time.
0 commit comments