From 78293335dfb1713a3c74b4d1f9425f29ea9043ef Mon Sep 17 00:00:00 2001 From: Stefano Sinigardi Date: Sat, 8 Aug 2020 13:15:03 +0200 Subject: [PATCH] unify lib naming with makefile --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6f10e708..30380062 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -313,6 +313,7 @@ endif() if(BUILD_AS_CPP) set_target_properties(dark PROPERTIES LINKER_LANGUAGE CXX) endif() +set_target_properties(dark PROPERTIES OUTPUT_NAME "darknet") if(OpenCV_FOUND AND OpenCV_VERSION VERSION_GREATER "3.0" AND BUILD_USELIB_TRACK) add_executable(uselib_track ${CMAKE_CURRENT_LIST_DIR}/src/yolo_console_dll.cpp)