Skip to content
Snippets Groups Projects
Unverified Commit 1c7be5cf authored by Guilherme Amadio's avatar Guilherme Amadio
Browse files

Only link Net to ${OPENSSL_LIBRARIES} when ssl is enabled

parent 44db5970
No related branches found
No related tags found
No related merge requests found
......@@ -29,5 +29,8 @@ ROOT_STANDARD_LIBRARY_PACKAGE(Net
HEADERS ${headers}
SOURCES ${sources}
DICTIONARY_OPTIONS "-writeEmptyRootPCM"
LIBRARIES ${OPENSSL_LIBRARIES} ${CRYPTLIBS}
DEPENDENCIES RIO)
if(ssl)
target_link_libraries(Net ${OPENSSL_LIBRARIES} ${CRYPTLIBS})
endif()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment