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.

CMakeLists.txt 595B

1234567891011121314151617181920212223242526272829
  1. include_directories(${CMAKE_SOURCE_DIR}/common ${ZLIB_INCLUDE_DIRS})
  2. add_library(rdr STATIC
  3. Exception.cxx
  4. FdInStream.cxx
  5. FdOutStream.cxx
  6. HexInStream.cxx
  7. HexOutStream.cxx
  8. InStream.cxx
  9. RandomStream.cxx
  10. TLSException.cxx
  11. TLSInStream.cxx
  12. TLSOutStream.cxx
  13. ZlibInStream.cxx
  14. ZlibOutStream.cxx)
  15. set(RDR_LIBRARIES ${ZLIB_LIBRARIES} os)
  16. if(GNUTLS_FOUND)
  17. set(RDR_LIBRARIES ${RDR_LIBRARIES} ${GNUTLS_LIBRARIES})
  18. endif()
  19. if(WIN32)
  20. set(RDR_LIBRARIES ${RDR_LIBRARIES} ws2_32)
  21. endif()
  22. target_link_libraries(rdr ${RDR_LIBRARIES})
  23. if(UNIX)
  24. libtool_create_control_file(rdr)
  25. endif()