Update CMakeLists.txt for boost

This commit is contained in:
Vinnie Falco
2017-07-23 20:04:07 -07:00
parent ad8c5f9f7f
commit 198846d7bd
22 changed files with 21 additions and 133 deletions
+3 -8
View File
@@ -8,7 +8,6 @@
#
GroupSources(include/boost/beast beast)
GroupSources(example/server-framework "/")
GroupSources(example/common "common")
@@ -24,12 +23,8 @@ add_executable (server-framework
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})
target_link_libraries(server-framework
${OPENSSL_LIBRARIES}
)
endif()