summaryrefslogtreecommitdiff
blob: 6929a4c2ce4cb383ba2301ff98a1be1c866153d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
diff -purN a/modules/dnn_modern/CMakeLists.txt b/modules/dnn_modern/CMakeLists.txt
--- a/modules/dnn_modern/CMakeLists.txt	2017-07-31 15:58:38.000000000 +0100
+++ b/modules/dnn_modern/CMakeLists.txt	2018-01-15 17:15:15.202454388 +0000
@@ -15,23 +15,6 @@ list(APPEND CMAKE_MODULE_PATH ${CMAKE_CU
 # MODULE REQUIREMENTS
 # ----------------------------------------------------------------------------
 
-set(TINY_DNN_CPP_PATH "${OpenCV_BINARY_DIR}/3rdparty/tinydnn")
-set(TINY_DNN_CPP_ROOT "${TINY_DNN_CPP_PATH}/tiny-dnn-1.0.0a3")
-ocv_download(FILENAME "v1.0.0a3.tar.gz"
-               HASH "adb1c512e09ca2c7a6faef36f9c53e59"
-               URL
-                 "${OPENCV_TINY_DNN_URL}"
-                 "$ENV{OPENCV_TINY_DNN_URL}"
-                 "https://github.com/tiny-dnn/tiny-dnn/archive/"
-               DESTINATION_DIR "${TINY_DNN_CPP_PATH}"
-               STATUS TINY_DNN_DOWNLOAD_SUCCESS
-               ID "tiny-dnn"
-               UNPACK RELATIVE_URL)
-
-if(NOT TINY_DNN_DOWNLOAD_SUCCESS)
-  message(STATUS "Failed to download tiny-dnn sources")
-endif()
-
 find_package(TinyDNN QUIET)
 
 include(CheckCXXCompilerFlag)