Skip to content

Commit

Permalink
Update ver check
Browse files Browse the repository at this point in the history
  • Loading branch information
mattdawkins committed Aug 1, 2023
1 parent 8babde5 commit 8e48bae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/add_project_python_deps.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ if( VIAME_ENABLE_PYTORCH AND VIAME_ENABLE_PYTORCH-INTERNAL )
endif()

if( VIAME_ENABLE_PYTORCH AND VIAME_ENABLE_PYTORCH-MMDET )
if( WIN32 AND Python_VERSION VERSION_LESS "3.9" )
if( WIN32 AND Python_VERSION VERSION_LESS "3.7" )
list( APPEND VIAME_PYTHON_BASIC_DEPS "pycocotools-windows" )
else()
list( APPEND VIAME_PYTHON_BASIC_DEPS "pycocotools" )
Expand Down

0 comments on commit 8e48bae

Please sign in to comment.