Files
boost_beast/example/server-framework/CMakeLists.txt
2017-07-20 08:15:28 -07:00

22 lines
407 B
CMake

# Part of Beast
GroupSources(include/beast beast)
GroupSources(example/server-framework "/")
add_executable (server-framework
${BEAST_INCLUDES}
${SERVER_INCLUDES}
main.cpp
)
target_link_libraries(
server-framework
Beast
${Boost_PROGRAM_OPTIONS_LIBRARY}
${Boost_FILESYSTEM_LIBRARY})
if (OPENSSL_FOUND)
target_link_libraries(server-framework ${OPENSSL_LIBRARIES})
endif()