restore shared lib as default

This commit is contained in:
Stefano Sinigardi 2019-08-01 07:47:38 +02:00
parent 53699c189b
commit 9baf9861d7
2 changed files with 4 additions and 1 deletions

3
.gitignore vendored
View File

@ -52,3 +52,6 @@ src/version.h
lib/ lib/
share/ share/
include/darknet/ include/darknet/
uselib
uselib_track
darknet

View File

@ -6,7 +6,7 @@ set(Darknet_PATCH_VERSION 5)
set(Darknet_VERSION ${Darknet_MAJOR_VERSION}.${Darknet_MINOR_VERSION}.${Darknet_PATCH_VERSION}) set(Darknet_VERSION ${Darknet_MAJOR_VERSION}.${Darknet_MINOR_VERSION}.${Darknet_PATCH_VERSION})
set(CMAKE_VERBOSE_MAKEFILE "FALSE" CACHE BOOL "Create verbose makefile") set(CMAKE_VERBOSE_MAKEFILE "FALSE" CACHE BOOL "Create verbose makefile")
set(BUILD_SHARED_LIBS "FALSE" CACHE BOOL "Create dark as a shared library") set(BUILD_SHARED_LIBS "TRUE" CACHE BOOL "Create dark as a shared library")
if (WIN32) if (WIN32)
set(SELECT_OPENCV_MODULES "TRUE" CACHE BOOL "Use only few selected OpenCV modules to circumvent some Ninja+CMake bugs on Windows") set(SELECT_OPENCV_MODULES "TRUE" CACHE BOOL "Use only few selected OpenCV modules to circumvent some Ninja+CMake bugs on Windows")
else() else()