Skip to content

Commit

Permalink
qtawesome: rmdir lib/cmake, account for added header prefix dir
Browse files Browse the repository at this point in the history
  • Loading branch information
valgur committed Mar 23, 2024
1 parent ceff7cd commit 89e946c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion recipes/qtawesome/all/conanfile.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from conan import ConanFile
from conan.errors import ConanInvalidConfiguration
from conan.tools.microsoft import check_min_vs, is_msvc_static_runtime, is_msvc
from conan.tools.files import apply_conandata_patches, export_conandata_patches, get, copy
from conan.tools.files import apply_conandata_patches, export_conandata_patches, get, copy, rmdir
from conan.tools.build import check_min_cppstd
from conan.tools.env import VirtualRunEnv
from conan.tools.scm import Version
Expand Down Expand Up @@ -101,6 +101,9 @@ def package(self):
copy(self, pattern="LICENSE.md", dst=os.path.join(self.package_folder, "licenses"), src=self.source_folder)
cmake = CMake(self)
cmake.install()
rmdir(self, os.path.join(self.package_folder, "lib", "cmake"))

def package_info(self):
self.cpp_info.libs = ["QtAwesome"]
if Version(self.version) >= "6.5":
self.cpp_info.includedirs.append(os.path.join("include", "QtAwesome"))

0 comments on commit 89e946c

Please sign in to comment.