diff --git a/CMakeLists.txt b/CMakeLists.txt index 66a29d9f7b25323f858fb277b5f3a782953bf3a9..40bc547edb7cf6aedf77ac0b7d36205ce067e60e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -413,6 +413,7 @@ if (OPENDHT_C) c/opendht.cpp c/opendht_c.h ) + set_target_properties (opendht-c-static PROPERTIES OUTPUT_NAME "opendht-c") target_link_libraries(opendht-c-static PRIVATE opendht-static) install (TARGETS opendht-c-static DESTINATION ${CMAKE_INSTALL_LIBDIR} EXPORT opendht-c-static) endif ()