ENV: put X11 aclocal dir in ACLOCAL_PATH when appropriate
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
aeab8e8d19
commit
55a95ee0ab
@ -272,6 +272,8 @@ module HomebrewEnvExtension
|
|||||||
|
|
||||||
append 'CPPFLAGS', "-I#{MacOS::X11.include}"
|
append 'CPPFLAGS', "-I#{MacOS::X11.include}"
|
||||||
|
|
||||||
|
append 'ACLOCAL_PATH', MacOS::X11.share/'aclocal', ':'
|
||||||
|
|
||||||
unless MacOS::CLT.installed?
|
unless MacOS::CLT.installed?
|
||||||
append 'CMAKE_PREFIX_PATH', MacOS.sdk_path/'usr/X11', ':'
|
append 'CMAKE_PREFIX_PATH', MacOS.sdk_path/'usr/X11', ':'
|
||||||
append 'CPPFLAGS', "-I#{MacOS::X11.include}/freetype2"
|
append 'CPPFLAGS', "-I#{MacOS::X11.include}/freetype2"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user