123456789101112131415161718192021222324252627282930 |
- include_directories(${CMAKE_SOURCE_DIR}/common ${ZLIB_INCLUDE_DIRS})
-
- add_library(rdr STATIC
- BufferedInStream.cxx
- BufferedOutStream.cxx
- Exception.cxx
- FdInStream.cxx
- FdOutStream.cxx
- FileInStream.cxx
- HexInStream.cxx
- HexOutStream.cxx
- RandomStream.cxx
- TLSException.cxx
- TLSInStream.cxx
- TLSOutStream.cxx
- ZlibInStream.cxx
- ZlibOutStream.cxx)
-
- target_link_libraries(rdr ${ZLIB_LIBRARIES} os)
-
- if(GNUTLS_FOUND)
- target_link_libraries(rdr ${GNUTLS_LIBRARIES})
- endif()
- if(WIN32)
- target_link_libraries(rdr ws2_32)
- endif()
-
- if(UNIX)
- libtool_create_control_file(rdr)
- endif()
|