summaryrefslogtreecommitdiffstats
path: root/src/cmake/library.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmake/library.cmake')
-rw-r--r--src/cmake/library.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmake/library.cmake b/src/cmake/library.cmake
index 08831ed9cf8..6aa0ae848f9 100644
--- a/src/cmake/library.cmake
+++ b/src/cmake/library.cmake
@@ -26,7 +26,7 @@ macro(add_vpp_library lib)
target_link_libraries(${lib} ${ARG_LINK_LIBRARIES})
endif()
# install .so
- install(TARGETS ${lib} DESTINATION lib)
+ install(TARGETS ${lib} DESTINATION ${VPP_LIB_DIR_NAME})
if(ARG_MULTIARCH_SOURCES)
vpp_library_set_multiarch_sources(${lib} ${ARG_MULTIARCH_SOURCES})