[root] fix package definition (#19775)

This commit is contained in:
Thomas Madlener 2020-11-07 04:04:23 +01:00 committed by GitHub
parent 1d52bbdf17
commit 381305da0f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -435,7 +435,7 @@ def cmake_args(self):
True))
if '+x+opengl' in self.spec:
ftgl_prefix = self.spec('ftgl').prefix
ftgl_prefix = self.spec['ftgl'].prefix
options.append(define('FTGL_ROOT_DIR', ftgl_prefix))
options.append(define('FTGL_INCLUDE_DIR', ftgl_prefix.include))
if '+python' in self.spec: