qgis: fix build of LTS release with proj>7 (#26696)
Co-authored-by: Sinan <sbulutw@gmail.com> Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
This commit is contained in:
parent
2864212ae3
commit
f4a132256a
@ -161,7 +161,10 @@ def cmake_args(self):
|
||||
self.spec['geos'].prefix.bin,
|
||||
'-DGSL_CONFIG_PREFER_PATH=' + self.spec['gsl'].prefix.bin,
|
||||
'-DPOSTGRES_CONFIG_PREFER_PATH=' +
|
||||
self.spec['postgresql'].prefix.bin
|
||||
self.spec['postgresql'].prefix.bin,
|
||||
'-DPROJ_INCLUDE_DIR=' + self.spec['proj'].headers.directories[0],
|
||||
'-DSQLITE3_LIBRARY='
|
||||
+ self.spec['sqlite'].libs[0]
|
||||
])
|
||||
|
||||
args.extend([
|
||||
@ -232,3 +235,7 @@ def cmake_args(self):
|
||||
else:
|
||||
args.append('-DWITH_GRASS7=OFF')
|
||||
return args
|
||||
|
||||
def check(self):
|
||||
"""The tests of fail without access to an X server, cant run on build servers"""
|
||||
pass
|
||||
|
Loading…
Reference in New Issue
Block a user