Skip to content

Commit

Permalink
Fix tmpfile dependency on Android's log library
Browse files Browse the repository at this point in the history
  • Loading branch information
ViliusSutkus89 committed Aug 3, 2024
1 parent b489fb6 commit 5f9f119
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions recipes/tmpfile/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,6 @@ def package(self):

def package_info(self):
self.cpp_info.libs = ["tmpfile"]
self.cpp_info.system_libs = ["log"]
self.cpp_info.includedirs = None
self.cpp_info.bindirs = None
4 changes: 1 addition & 3 deletions recipes/tmpfile/all/test_package/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,5 @@ project(tmpfile_tests CXX)

find_package(tmpfile CONFIG REQUIRED)

find_library(log-lib log)

add_executable(${PROJECT_NAME} libTests.exe.cpp)
target_link_libraries(${PROJECT_NAME} ${log-lib} tmpfile::tmpfile ${log-lib})
target_link_libraries(${PROJECT_NAME} tmpfile::tmpfile)

0 comments on commit 5f9f119

Please sign in to comment.