Skip to content

Commit

Permalink
Merge pull request #1137 from Pusnow/fix-link-static
Browse files Browse the repository at this point in the history
cmake: Fix cmake link property for static library
  • Loading branch information
rleon committed Feb 7, 2022
2 parents 4155e3c + 86a6c95 commit b25af7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildlib/rdma_functions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ function(rdma_library DEST VERSION_SCRIPT SOVERSION VERSION)
# Create a static library
if (ENABLE_STATIC)
add_library(${DEST}-static STATIC ${ARGN})
target_link_libraries(${DEST}-static LINK ${COMMON_LIBS})
target_link_libraries(${DEST}-static LINK_PRIVATE ${COMMON_LIBS})
rdma_public_static_lib(${DEST} ${DEST}-static ${VERSION_SCRIPT})
endif()

Expand Down

0 comments on commit b25af7e

Please sign in to comment.