From 7ab93a14fab6ce1c87384902f1dcebdcd6c62096 Mon Sep 17 00:00:00 2001 From: kristoffere Date: Fri, 28 Apr 2023 10:08:00 +0200 Subject: [PATCH] Use self.settings.build_type instead of hardcoded Debug/Release --- conanfile.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/conanfile.py b/conanfile.py index 124cd84..4583aa8 100644 --- a/conanfile.py +++ b/conanfile.py @@ -45,8 +45,7 @@ def build(self): def package(self): cmake = CMake(self) cmake.install() - copy(self, "*.dll", os.path.join(self.build_folder, "Debug"), os.path.join(self.package_folder, "bin")) - copy(self, "*.dll", os.path.join(self.build_folder, "Release"), os.path.join(self.package_folder, "bin")) + copy(self, "*.dll", os.path.join(self.build_folder, str(self.settings.build_type)), os.path.join(self.package_folder, "bin")) def package_info(self): if self.options.shared: