--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -103,4 +103,6 @@
     target_link_libraries(cmocka-static PRIVATE ${CMOCKA_LINK_LIBRARIES})
 
     add_library(cmocka::static ALIAS cmocka-static)
+    set_target_properties(cmocka-static PROPERTIES OUTPUT_NAME "cmocka")
+    install(TARGETS cmocka-static ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
 endif()
