Skip to content

Commit

Permalink
libcpuid: remove unnecessary copying of DLLs
Browse files Browse the repository at this point in the history
  • Loading branch information
valgur committed Oct 4, 2023
1 parent 5070b7a commit def937d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions recipes/libcpuid/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from conan import ConanFile
from conan.errors import ConanInvalidConfiguration
from conan.tools.cmake import CMake, CMakeToolchain, cmake_layout
from conan.tools.files import apply_conandata_patches, copy, export_conandata_patches, get, rmdir, rename
from conan.tools.files import apply_conandata_patches, copy, export_conandata_patches, get, rmdir

required_conan_version = ">=1.53.0"

Expand Down Expand Up @@ -74,8 +74,6 @@ def package(self):
cmake.install()
rmdir(self, os.path.join(self.package_folder, "lib", "cmake"))
rmdir(self, os.path.join(self.package_folder, "lib", "pkgconfig"))
for dll in (self.package_path / "lib").glob("*.dll"):
rename(self, dll, self.package_path / "bin" / dll.name)

def package_info(self):
self.cpp_info.set_property("cmake_file_name", "cpuid")
Expand Down

0 comments on commit def937d

Please sign in to comment.