Skip to content

Commit e193368

Browse files
authored
Update README.md
1 parent 0a9ca2c commit e193368

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,13 @@ To use from CMake:
2929
cmake_minimum_required(VERSION 3.7)
3030
project(main)
3131
32-
find_library(CPPREST_LIB cpprest)
32+
find_path(CPPREST_INCLUDE cpprest/http_client.h)
33+
find_library(CPPREST_LIB NAMES cpprest_2_9d cpprest_2_9 cpprestd cpprest)
3334
find_package(Boost REQUIRED COMPONENTS random system thread filesystem chrono atomic date_time regex)
3435
find_package(OpenSSL 1.0.0 REQUIRED)
3536
3637
add_executable(main main.cpp)
38+
target_include_directories(main ${CPPREST_INCLUDE})
3739
target_link_libraries(main
3840
${CPPREST_LIB}
3941
Boost::boost

0 commit comments

Comments
 (0)