dfleury2 / beauty

A Simple C++ Http server/client above Boost.Beast
MIT License
188 stars 23 forks source link

add beauty to CMakeLists.txt #15

Closed ronytigo closed 1 year ago

ronytigo commented 1 year ago

How should I add to CMakeLists.txt?

for rapidyaml I have this for example:

add_subdirectory(deps/rapidyaml)
target_include_directories(test PRIVATE deps/rapidyaml/src)
target_link_libraries(test PRIVATE ryml)
dfleury2 commented 1 year ago

If you cloned beauty repo in yout own deps directory ?

May works, but not tested since I used it with conan. You will need to be sure boost and openssl are available.

add_subdirectory(deps/beauty)
target_link_libraries(test PRIVATE beauty::beauty)
ronytigo commented 1 year ago

yes. I tried that, but now I see I needed to add set(CONAN OFF).