Skip to content

Commit fc533b0

Browse files
authored
Update CMakeLists.txt
1 parent 3850516 commit fc533b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ add_custom_target(lint COMMAND ${CMAKE_COMMAND} -DPYTHON_EXECUTABLE=${PYTHON_EXE
146146

147147
# ---[ pytest target
148148
if(BUILD_python)
149-
add_custom_target(pytest COMMAND ${Python_EXECUTABLE} -m unittest discover -s caffe/test WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/python )
149+
add_custom_target(pytest COMMAND python3 -m unittest discover -s caffe/test WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/python )
150150
add_dependencies(pytest pycaffe)
151151
endif()
152152

0 commit comments

Comments
 (0)