Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fmt] conan v2 compatibility #10456

Merged
merged 26 commits into from
Jul 20, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
- fix header-only
Signed-off-by: SSE4 <[email protected]>
  • Loading branch information
SSE4 committed Jul 13, 2022
commit 3ea27519de22bebd3f3a4a549a632915f76e735a
2 changes: 1 addition & 1 deletion recipes/fmt/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def _rm_folder(folder):
def package(self):
copy(self, pattern="*LICENSE.rst", src=self.source_folder, dst=os.path.join(self.package_folder, "licenses"))
if self.options.header_only:
copy(self, pattern="*.h", dst="include", src=os.path.join(self._source_subfolder, "include"))
copy(self, pattern="*.h", src=os.path.join(self.source_folder, "include"), dst="include")
else:
cmake = CMake(self)
cmake.install()
Expand Down