restore shared lib as default

pull/3685/head
Stefano Sinigardi 6 years ago
parent 53699c189b
commit 9baf9861d7
  1. 3
      .gitignore
  2. 2
      CMakeLists.txt

3
.gitignore vendored

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

@ -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()

Loading…
Cancel
Save