easyhttpcpp icon indicating copy to clipboard operation
easyhttpcpp copied to clipboard

Conan + Cmake sample ?

Open Romain-P opened this issue 1 year ago • 0 comments

Reference: https://conan.io/center/recipes/easyhttpcpp?version=2.1.0 I recently tried to integrate using cmake-conan, but it does not add easyhttpcpp include directory to the project automatically (but it should thanks to CMakeDeps)

  • Conan 2 and CMake 3+
  • Windows VS MSVC 17
find_package(easyhttpcppeasyhttp REQUIRED)
target_link_libraries(project_test easyhttp) #please note that `easyhttpcpp::easyhttp` can't be found, had to remove`easyhttpcpp::`

Cmake build is successful but I can't include your directories as I usually do with other deps Conanfile

[requires]
easyhttpcpp/2.1.0

[generators]
CMakeDeps
CMakeToolchain

[layout]
cmake_layout

[options]
poco/*:enable_netssl=False
poco/*:enable_netssl_win=True
poco/*:enable_data=True
poco/*:enable_data_sqlite=True
poco/*:enable_net=True

Romain-P avatar Nov 19 '24 04:11 Romain-P