Skip to content

Commit

Permalink
(#15347) Fix json_dto missing headers
Browse files Browse the repository at this point in the history
* Fix json_dto missing headers

* Add json_dto/validators.hpp to test_package
  • Loading branch information
ngrodzitski authored Jan 19, 2023
1 parent 85fa244 commit 6b58613
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion recipes/json_dto/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def package(self):
copy(self, pattern="LICENSE", dst=os.path.join(self.package_folder, "licenses"), src=self.source_folder)
copy(
self,
pattern="pub.hpp",
pattern="*.hpp",
dst=os.path.join(self.package_folder, "include", "json_dto"),
src=os.path.join(self.source_folder, "dev", "json_dto"),
)
Expand Down
1 change: 1 addition & 0 deletions recipes/json_dto/all/test_package/example.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#include <ctime>

#include <json_dto/pub.hpp>
#include <json_dto/validators.hpp>

// Message.
struct message_t
Expand Down

0 comments on commit 6b58613

Please sign in to comment.