Skip to content

Commit

Permalink
Merge pull request #4175 from 0xB0D/master+gsoap-link-fix
Browse files Browse the repository at this point in the history
Fix libgsoap linking in src/CMakeLists.txt
  • Loading branch information
connortechnology authored Oct 13, 2024
2 parents f1a72c9 + f43d048 commit 75cd5e6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -165,11 +165,15 @@ target_link_libraries(zm
PRIVATE
zm-core-interface)

set(GSOAP_LIBRARIES ${GSOAP_CXX_LIBRARIES})
if(HAVE_LIBOPENSSL)
set(GSOAP_LIBRARIES ${GSOAP_SSL_CXX_LIBRARIES})
endif()

if(GSOAP_FOUND)
target_link_libraries(zm
PUBLIC
${GSOAP_CXX_LIBRARIES}
${GSOAP_SSL_CXX_LIBRARIES}
${GSOAP_LIBRARIES}
${OPENSSL_SSL_LIBRARY}
${OPENSSL_CRYPTO_LIBRARY})
endif()
Expand Down

0 comments on commit 75cd5e6

Please sign in to comment.