boringssl/tool/CMakeLists.txt
David Benjamin ac63748997 Revert "tool: we don't need -lrt."
This reverts commit e60e2a483b. Turns out we do
still use clock_gettime in speed.cc.

Change-Id: Idab42ef2863345c3d1409b5d33c3e36b41739e1f
Reviewed-on: https://boringssl-review.googlesource.com/4894
Reviewed-by: Adam Langley <agl@google.com>
2015-05-27 19:21:43 +00:00

23 lines
315 B
CMake

include_directories(../include)
add_executable(
bssl
args.cc
client.cc
const.cc
digest.cc
pkcs12.cc
rand.cc
server.cc
speed.cc
tool.cc
transport_common.cc
)
if (APPLE OR WIN32 OR ANDROID)
target_link_libraries(bssl ssl crypto)
else()
target_link_libraries(bssl ssl crypto -lrt)
endif()