diff options
author | Amiya Maji <amaji@purdue.edu> | 2021-04-06 03:45:00 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-06 09:45:00 +0200 |
commit | 7e6386803e1f43c9541b20e8fdda358b90dc0e82 (patch) | |
tree | 583cbfae24414baede0b7c0d571642fb5d59b1b2 /LICENSE-APACHE | |
parent | 8dab9f0a81a8cfa686160e7bef947400506f38f5 (diff) | |
download | spack-7e6386803e1f43c9541b20e8fdda358b90dc0e82.tar.gz spack-7e6386803e1f43c9541b20e8fdda358b90dc0e82.tar.bz2 spack-7e6386803e1f43c9541b20e8fdda358b90dc0e82.tar.xz spack-7e6386803e1f43c9541b20e8fdda358b90dc0e82.zip |
fltk: add explicit dependency on gl and a variant to activate it (#22761)
* The fltk package can build libraries with opengl support. By default, the configure script looks for opengl headers in the sytem include paths. If 'devel' packages have not been installed on the system it omits the 'ftlk_gl.so' library. This can break packages like 'octave' which expects 'fltk' to have opengl support and looks for the library 'fltk_gl'.
Make opengl support explicit in fltk by adding a dependency on 'gl' and adding a new variant of the same name 'gl' (default On).
With these modifications 'fltk_gl' and 'octave' build successfully on CentOS8.
The default behavior is to always enable opengl.
https://www.fltk.org/doc-1.3/intro.html
Diffstat (limited to 'LICENSE-APACHE')
0 files changed, 0 insertions, 0 deletions