diff options
Diffstat (limited to 'conanfile.py')
| -rw-r--r-- | conanfile.py | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/conanfile.py b/conanfile.py index 5c6a159..701cab6 100644 --- a/conanfile.py +++ b/conanfile.py @@ -33,10 +33,18 @@ class Wanda(ConanFile): "spdlog:fmt_external": False, } - def build(self): + def configure_cmake(self): cmake = CMake(self) - cmake.configure(source_folder=".") + cmake.configure() + return cmake + + def build(self): + cmake = self.configure_cmake() cmake.build() def package(self): - self.copy("wanda", src="bin", dst="bin") + cmake = self.configure_cmake() + cmake.install() + + def package_info(self): + self.cpp_info.libs = ["wanda"] |
