diff --git a/CMakeLists.txt b/CMakeLists.txt index 54ab11ae..c19cf58b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,6 +14,8 @@ option(DARKNET_OPENCV "Build darknet with OpenCV support" ON) if(CMAKE_VERSION VERSION_LESS "3.11") include("cmake/FetchContent.cmake") +else() + include(FetchContent) endif() # Same version as Debian Buster