From d360441746d97fe2c5a76cc5cb1a0522ee8975c2 Mon Sep 17 00:00:00 2001 From: Remco Burema Date: Wed, 6 Mar 2024 15:50:29 +0100 Subject: [PATCH] Dependant packages expect an (empty) 'include' folder. done as part of CURA-11485 (also reference CURA-11265) --- conanfile.py | 2 +- include/folder.placeholder | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/conanfile.py b/conanfile.py index 25c92bb..3edb87b 100644 --- a/conanfile.py +++ b/conanfile.py @@ -162,7 +162,7 @@ def package(self): copy(self, pattern = "*.h", - dst = os.path.join(self.package_folder, "include"), # <- this should probably be removed? + dst = os.path.join(self.package_folder, "include"), src = os.path.join(self.build_folder, "generated")) copy(self, pattern = "LICENSE*", diff --git a/include/folder.placeholder b/include/folder.placeholder index b72dd87..203d2ce 100644 --- a/include/folder.placeholder +++ b/include/folder.placeholder @@ -1 +1 @@ -probably the line copying over the 'include' folder in the package function of the conan-file should be removed instead of adding this, but I'm running out of time today +NOTE: Dependant packages expect an 'include' folder, but git doesn't include empty folders.