You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

30 lines
454 B

  1. include_directories(../include)
  2. add_executable(
  3. bssl
  4. args.cc
  5. ciphers.cc
  6. client.cc
  7. const.cc
  8. digest.cc
  9. genrsa.cc
  10. pkcs12.cc
  11. rand.cc
  12. server.cc
  13. speed.cc
  14. tool.cc
  15. transport_common.cc
  16. )
  17. if (APPLE OR WIN32 OR ANDROID)
  18. target_link_libraries(bssl ssl crypto)
  19. else()
  20. find_library(FOUND_LIBRT rt)
  21. if (FOUND_LIBRT)
  22. target_link_libraries(bssl ssl crypto -lrt)
  23. else()
  24. target_link_libraries(bssl ssl crypto)
  25. endif()
  26. endif()