From 50f5372193040a42eb7e28bfe2db3e59f689721f Mon Sep 17 00:00:00 2001 From: Stefano Sinigardi Date: Mon, 15 Apr 2019 17:29:47 +0200 Subject: [PATCH] [darknet] remove ninja preference to enable cuda build on windows (#6070) --- ports/darknet/CONTROL | 2 +- ports/darknet/portfile.cmake | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/ports/darknet/CONTROL b/ports/darknet/CONTROL index 215579eae..88b4cdb7b 100644 --- a/ports/darknet/CONTROL +++ b/ports/darknet/CONTROL @@ -1,5 +1,5 @@ Source: darknet -Version: 0.2.5 +Version: 0.2.5-1 Description: Darknet is an open source neural network framework written in C and CUDA. You only look once (YOLO) is a state-of-the-art, real-time object detection system, best example of darknet functionalities. Build-Depends: pthreads (windows), stb Default-Features: weights diff --git a/ports/darknet/portfile.cmake b/ports/darknet/portfile.cmake index 4b28c5011..986bdb03d 100644 --- a/ports/darknet/portfile.cmake +++ b/ports/darknet/portfile.cmake @@ -61,7 +61,6 @@ file(REMOVE_RECURSE ${SOURCE_PATH}/3rdparty) vcpkg_configure_cmake( SOURCE_PATH ${SOURCE_PATH} - PREFER_NINJA OPTIONS -DENABLE_CUDA=${ENABLE_CUDA} -DENABLE_OPENCV=${ENABLE_OPENCV}