File tree Expand file tree Collapse file tree 1 file changed +2
-18
lines changed Expand file tree Collapse file tree 1 file changed +2
-18
lines changed Original file line number Diff line number Diff line change @@ -29,26 +29,10 @@ To use from CMake:
29
29
cmake_minimum_required(VERSION 3.7)
30
30
project(main)
31
31
32
- find_path(CPPREST_INCLUDE cpprest/http_client.h)
33
- find_library(CPPREST_LIB NAMES cpprest_2_9d cpprest_2_9 cpprestd cpprest)
34
- find_package(Boost REQUIRED COMPONENTS random system thread filesystem chrono atomic date_time regex)
35
- find_package(OpenSSL 1.0.0 REQUIRED)
32
+ find_package(cpprestsdk REQUIRED)
36
33
37
34
add_executable(main main.cpp)
38
- target_include_directories(main ${CPPREST_INCLUDE})
39
- target_link_libraries(main
40
- ${CPPREST_LIB}
41
- Boost::boost
42
- Boost::random
43
- Boost::system
44
- Boost::thread
45
- Boost::filesystem
46
- Boost::chrono
47
- Boost::atomic
48
- Boost::date_time
49
- Boost::regex
50
- OpenSSL::SSL
51
- )
35
+ target_link_libraries(main PRIVATE cpprestsdk::cpprest)
52
36
```
53
37
54
38
## What's in the SDK:
You can’t perform that action at this time.
0 commit comments