glfw: make it build on MacOS (#22626)
This commit is contained in:
parent
65563946e3
commit
68cec598dc
1 changed files with 16 additions and 11 deletions
|
@ -26,14 +26,19 @@ class Glfw(CMakePackage):
|
|||
version('3.0.4', sha256='a4e7c57db2086803de4fc853bd472ff8b6d2639b9aa16e6ac6b19ffb53958caf')
|
||||
version('3.0.3', sha256='7a182047ba6b1fdcda778b79aac249bb2328b6d141188cb5df29560715d01693')
|
||||
|
||||
depends_on('libxrandr')
|
||||
depends_on('libxinerama')
|
||||
depends_on('libxcursor')
|
||||
depends_on('libxdamage')
|
||||
depends_on('libxft')
|
||||
depends_on('libxi')
|
||||
depends_on('libxmu')
|
||||
depends_on('freetype')
|
||||
depends_on('fontconfig')
|
||||
depends_on('doxygen', type='build')
|
||||
depends_on('pkgconfig', type='build')
|
||||
variant("doc", default=False, description="Build documentation")
|
||||
|
||||
# dependencies
|
||||
depends_on('doxygen', type='build', when="+doc")
|
||||
|
||||
# linux only dependencies
|
||||
depends_on('libxrandr', when='platform=linux')
|
||||
depends_on('libxinerama', when='platform=linux')
|
||||
depends_on('libxcursor', when='platform=linux')
|
||||
depends_on('libxdamage', when='platform=linux')
|
||||
depends_on('libxft', when='platform=linux')
|
||||
depends_on('libxi', when='platform=linux')
|
||||
depends_on('libxmu', when='platform=linux')
|
||||
depends_on('freetype', when='platform=linux')
|
||||
depends_on('fontconfig', when='platform=linux')
|
||||
depends_on('pkgconfig', type='build', when='platform=linux')
|
||||
|
|
Loading…
Reference in a new issue