File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 9
9
from conan .tools .meson import MesonToolchain , Meson
10
10
from conan .tools .scm import Version
11
11
12
- required_conan_version = ">=1.53 .0"
12
+ required_conan_version = ">=1.64.0 <2 || >=2.2 .0"
13
13
14
14
15
15
class LibdrmConan (ConanFile ):
@@ -88,7 +88,7 @@ def validate(self):
88
88
raise ConanInvalidConfiguration ("libdrm supports only Linux or FreeBSD" )
89
89
90
90
def build_requirements (self ):
91
- self .tool_requires ("meson/1.3 .0" )
91
+ self .tool_requires ("meson/1.4 .0" )
92
92
if not self .conf .get ("tools.gnu:pkg_config" , default = False , check_type = str ):
93
93
self .tool_requires ("pkgconf/2.1.0" )
94
94
@@ -116,8 +116,8 @@ def generate(self):
116
116
else :
117
117
tc .project_options [o ] = "true" if getattr (self .options , o ) else "false"
118
118
119
- tc .project_options ["datadir" ] = os . path . join ( self . package_folder , "res" )
120
- tc .project_options ["mandir" ] = os .path .join (self . package_folder , "res" , "man" )
119
+ tc .project_options ["datadir" ] = "res"
120
+ tc .project_options ["mandir" ] = os .path .join ("res" , "man" )
121
121
tc .generate ()
122
122
123
123
def build (self ):
You can’t perform that action at this time.
0 commit comments