Skip to content

Commit

Permalink
Follow upstream naming
Browse files Browse the repository at this point in the history
  • Loading branch information
AbrilRBS authored Sep 5, 2024
1 parent 5ce230b commit bea53aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions recipes/http-request/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ def package(self):
copy(self, "*.h", src=self.source_folder, dst=os.path.join(self.package_folder, "include", "public"))

def package_info(self):
self.cpp_info.set_property("cmake_file_name", "http_request")
self.cpp_info.set_property("cmake_target_name", "http_request::http_request")
self.cpp_info.set_property("cmake_file_name", "http-request")
self.cpp_info.set_property("cmake_target_name", "http-request")
self.cpp_info.includedirs.append(os.path.join("include", "public"))
self.cpp_info.bindirs = []
self.cpp_info.libdirs = []
Expand Down
2 changes: 1 addition & 1 deletion recipes/http-request/all/test_package/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ project(test_package LANGUAGES CXX)
find_package(http-request REQUIRED CONFIG)

add_executable(${PROJECT_NAME} test_package.cpp)
target_link_libraries(${PROJECT_NAME} PRIVATE http_request::http_request)
target_link_libraries(${PROJECT_NAME} PRIVATE http-request)
target_compile_features(${PROJECT_NAME} PRIVATE cxx_std_17)

0 comments on commit bea53aa

Please sign in to comment.