diff options
author | tt4g <mainlinett@gmail.com> | 2019-04-22 09:34:53 +0900 |
---|---|---|
committer | poletti-marco <poletti.marco@gmail.com> | 2019-04-27 09:07:40 +0100 |
commit | 7ca6361509b5a1ba821006a4363e16c9d4300785 (patch) | |
tree | 7abe5b057047e2ee812f255e747c2049dbb7a25d /conanfile.py | |
parent | 33655a4d714eff4f70d6916bd2d8a8e04c8988e9 (diff) | |
download | google-fruit-7ca6361509b5a1ba821006a4363e16c9d4300785.tar.gz |
Remove unnecessary copies for conanfile.py
When calling CMake from conan, the ‘CMAKE_INSTALL_PREFIX‘ (installation path) is set to `conanfile.package_folder`.
Since CMake installs the fruit header and library into `CMAKE_INSTALL_PREFIX`, don't need to copy again in `package` function.
Diffstat (limited to 'conanfile.py')
-rw-r--r-- | conanfile.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/conanfile.py b/conanfile.py index e1f622a..e5419a9 100644 --- a/conanfile.py +++ b/conanfile.py @@ -74,13 +74,6 @@ conan_basic_setup()''') self.copy("COPYING", dst="licenses", ignore_case=True, keep_path=False, src=self._source_subfolder) - self.copy("*.h", dst="include", - src=os.path.join(self._source_subfolder, "include")) - self.copy("*fruit.lib", dst="lib", keep_path=False) - self.copy("*.dll", dst="bin", keep_path=False) - self.copy("*.so", dst="lib", keep_path=False) - self.copy("*.dylib", dst="lib", keep_path=False) - self.copy("*.a", dst="lib", keep_path=False) def package_info(self): self.cpp_info.includedirs = ["include"] |