Include FetchContent on CMake >= 3.11 (#6)

Fixes #5
This commit is contained in:
Shane Loretz
2020-03-06 16:13:56 -05:00
committed by GitHub
parent 7f9693b325
commit 4d60929528
+2
View File
@@ -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