Skip to content

Instantly share code, notes, and snippets.

@andresfelipemendez
Created April 9, 2018 20:07
Show Gist options
  • Select an option

  • Save andresfelipemendez/e3517d1278aaefe1b30de954c8a49183 to your computer and use it in GitHub Desktop.

Select an option

Save andresfelipemendez/e3517d1278aaefe1b30de954c8a49183 to your computer and use it in GitHub Desktop.
include boost beast :)
cmake_minimum_required(VERSION 3.11)
find_package(Boost 1.66 REQUIRED COMPONENTS system)
if(Boost_FOUND)
include_directories(${Boost_INCLUDE_DIRS})
link_directories(${Boost_LIBRARY_DIR})
add_executable(progname main.cpp)
target_link_libraries(progname ${Boost_LIBRARIES})
endif()
# set aditional linraries directores
cmake -G "Visual Studio 14 2015 Win64" ..
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment