Skip to content

Commit

Permalink
fix license and cmake config
Browse files Browse the repository at this point in the history
  • Loading branch information
petiaccja committed Sep 18, 2024
1 parent 4a2b8fb commit a6b62c7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions recipes/mathter/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from conan.tools.build import check_min_cppstd
from conan.tools.cmake import CMake, CMakeDeps, CMakeToolchain, cmake_layout
from conan.tools.env import VirtualBuildEnv
from conan.tools.files import copy, get
from conan.tools.files import copy, get, rmdir
from conan.tools.scm import Version

required_conan_version = ">=1.52.0"
Expand Down Expand Up @@ -85,9 +85,10 @@ def build(self):
cmake.build()

def package(self):
copy(self, "LICENSE.md", self.source_folder, os.path.join(self.package_folder, "licenses"))
cmake = CMake(self)
cmake.install()
copy(self, "LICENCE.md", self.source_folder, os.path.join(self.package_folder, "licenses"))
rmdir(self, os.path.join(self.package_folder, "lib"))

def package_info(self):
self.cpp_info.bindirs = []
Expand Down

0 comments on commit a6b62c7

Please sign in to comment.