aboutsummaryrefslogtreecommitdiff
path: root/ports/darknet/fix_shared_static.patch
diff options
context:
space:
mode:
authorStefano Sinigardi <stesinigardi@hotmail.com>2020-09-01 23:19:35 +0200
committerGitHub <noreply@github.com>2020-09-01 14:19:35 -0700
commit8da2de2a053586c49fc26c21da8397eba8450857 (patch)
treeeb241a07182a53ae7d46c4d06496f94eb4d6f7e8 /ports/darknet/fix_shared_static.patch
parentd29602bf0bef96ce71941ab58ca00a33ea5457fb (diff)
downloadvcpkg-8da2de2a053586c49fc26c21da8397eba8450857.tar.gz
vcpkg-8da2de2a053586c49fc26c21da8397eba8450857.zip
[darknet] update to v2020-08-30 (#13238)
Diffstat (limited to 'ports/darknet/fix_shared_static.patch')
-rw-r--r--ports/darknet/fix_shared_static.patch20
1 files changed, 0 insertions, 20 deletions
diff --git a/ports/darknet/fix_shared_static.patch b/ports/darknet/fix_shared_static.patch
deleted file mode 100644
index 5b9670f41..000000000
--- a/ports/darknet/fix_shared_static.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -1,4 +1,4 @@
--cmake_minimum_required(VERSION 3.12)
-+cmake_minimum_required(VERSION 3.17)
-
- set(Darknet_MAJOR_VERSION 0)
- set(Darknet_MINOR_VERSION 2)
-@@ -77,6 +77,11 @@ if(CMAKE_CUDA_COMPILER AND ENABLE_CUDA)
- else()
- message(STATUS "Your setup supports half precision (it requires CC >= 7.0)")
- endif()
-+ endif()
-+ if(BUILD_SHARED_LIBS)
-+ set(CMAKE_CUDA_RUNTIME_LIBRARY "Shared")
-+ else()
-+ set(CMAKE_CUDA_RUNTIME_LIBRARY "Static")
- endif()
- else()
- set(ENABLE_CUDA "FALSE" CACHE BOOL "Enable CUDA support" FORCE)