From d7869bdf04570f934c4fe421e0a58c5c66cfe427 Mon Sep 17 00:00:00 2001 From: Edgar Date: Sat, 8 Sep 2018 11:13:24 +0200 Subject: [PATCH] Use collect_libs for finding libs --- README.md | 8 +++----- conanfile.py | 2 +- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index ba9e743..19dfc62 100644 --- a/README.md +++ b/README.md @@ -3,11 +3,9 @@ mofilereader This API lets you read .mo-Files and use their content just as you would do with GNUs gettext. It is implemented in C++ with a very liberal license, allowing the programmer to use it in modern programs, without the need of linking against gettext and libiconv. -You will need cmake to build it as a seperate application or library, or just include the few files into your project. Any C++ Compiler should suffice. -This only fully supports utf-8, as I don't want this to be extensive. +You will need cmake to build it as a seperate application or library, or just include the few files into your project. Any C++ Compiler should suffice. +This only fully supports utf-8, as I don't want this to be extensive. -Optionally, you can also build an executable that is able to dump any .mo file to .html to peek into the contents of this file. +Optionally, you can also build an executable that is able to dump any .mo file to .html to peek into the contents of this file. Please report any issues you encounter, I can't fix them if I don't know about them! - -If you find this useful, you can buy me a beer here: https://pledgie.com/campaigns/26908 diff --git a/conanfile.py b/conanfile.py index 4170a81..e808df8 100644 --- a/conanfile.py +++ b/conanfile.py @@ -28,4 +28,4 @@ class MofilereaderConan(ConanFile): self.copy("*.a", dst="lib", keep_path=False) def package_info(self): - self.cpp_info.libs = ["MofileReader"] + self.cpp_info.libs = tools.collect_libs(self)