Add "inc" as sign that it's the root of the library (#4093)

* Add "inc" as sign that it's the root of the library

* Add "inc" and "Inc"

Co-authored-by: Ivan Kravets <me@ikravets.com>
This commit is contained in:
Maximilian Gerhardt
2021-11-05 13:16:36 +01:00
committed by GitHub
parent 00d298935a
commit 1d80da2559

View File

@ -62,7 +62,7 @@ class LibraryPackageManager(BasePackageManager): # pylint: disable=too-many-anc
@staticmethod
def find_library_root(path):
root_dir_signs = set(["include", "Include", "src", "Src"])
root_dir_signs = set(["include", "Include", "inc", "Inc", "src", "Src"])
root_file_signs = set(
[
"conanfile.py", # Conan-based library