sfcgal: add command property (#31298)

This commit is contained in:
Adam J. Stewart 2022-06-28 00:33:01 -07:00 committed by GitHub
parent 616d7454fc
commit 662d5066f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,6 +27,10 @@ class Sfcgal(CMakePackage):
depends_on('mpfr@2.2.1:')
depends_on('gmp@4.2:')
@property
def command(self):
return Executable(self.prefix.bin.join('sfcgal-config'))
def cmake_args(self):
# It seems viewer is discontinued as of v1.3.0
# https://github.com/Oslandia/SFCGAL/releases/tag/v1.3.0