cmake: fix libevent binary names

Match the output produced by autotools (libevent-client instead of
libevent_client).
This commit is contained in:
Peter Wu 2016-02-29 16:11:26 +01:00
parent d6c3b6e84c
commit 8bca2d1048
1 changed files with 2 additions and 2 deletions

View File

@ -26,8 +26,8 @@ if(ENABLE_EXAMPLES)
) )
add_executable(client client.c $<TARGET_OBJECTS:http-parser>) add_executable(client client.c $<TARGET_OBJECTS:http-parser>)
add_executable(libevent_client libevent-client.c $<TARGET_OBJECTS:http-parser>) add_executable(libevent-client libevent-client.c $<TARGET_OBJECTS:http-parser>)
add_executable(libevent_server libevent-server.c $<TARGET_OBJECTS:http-parser>) add_executable(libevent-server libevent-server.c $<TARGET_OBJECTS:http-parser>)
add_executable(deflate deflate.c $<TARGET_OBJECTS:http-parser>) add_executable(deflate deflate.c $<TARGET_OBJECTS:http-parser>)
if(ENABLE_TINY_NGHTTPD) if(ENABLE_TINY_NGHTTPD)