Skip to content

Commit e08e198

Browse files
test
1 parent 3ccd467 commit e08e198

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
cmake_minimum_required(VERSION 3.18.0)
22

3-
project(TensorArray_Python VERSION 0.1.0 LANGUAGES C CXX)
3+
project(TensorArray_Python VERSION 0.0.4 LANGUAGES C CXX)
44

55
include(CTest)
66
enable_testing()
77

88
add_subdirectory("tensor-array-repo/Tensor-Array" EXCLUDE_FROM_ALL)
99

10-
find_package(Python COMPONENTS Interpreter Development.Embed REQUIRED)
10+
find_package(Python3 COMPONENTS Interpreter Development.Module REQUIRED)
1111

12-
if(Python_FOUND)
12+
if(Python3_FOUND)
1313
add_subdirectory("third_party/pybind11" EXCLUDE_FROM_ALL)
1414
pybind11_add_module(tensor2 SHARED src/tensor_array/_core/tensor_bind.cc)
1515

@@ -24,7 +24,7 @@ SET_TARGET_PROPERTIES(tensor2 PROPERTIES PREFIX "")
2424
target_link_libraries(tensor2 PUBLIC TensorArray::Core)
2525

2626
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.")
2828
endif()
2929

3030

0 commit comments

Comments
 (0)