unify lib naming with makefile

This commit is contained in:
Stefano Sinigardi 2020-08-08 13:15:03 +02:00
parent 20968ef98b
commit 78293335df
1 changed files with 1 additions and 0 deletions

View File

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