macOS: Try to install libx11 using xmake
This commit is contained in:
parent
a6dce6861d
commit
ddd1492b9d
|
|
@ -72,7 +72,7 @@ local modules = {
|
|||
add_defines("SDL_VIDEO_DRIVER_WAYLAND=1")
|
||||
elseif is_plat("macosx") then
|
||||
add_defines("SDL_VIDEO_DRIVER_COCOA=1")
|
||||
add_sysincludedirs("/opt/X11/include")
|
||||
add_packages("libx11")
|
||||
end
|
||||
end
|
||||
},
|
||||
|
|
@ -133,7 +133,7 @@ option_end()
|
|||
set_project("NazaraEngine")
|
||||
set_xmakever("2.6.3")
|
||||
|
||||
add_requires("chipmunk2d", "dr_wav", "efsw", "entt >=3.9", "kiwisolver", "libflac", "libsdl", "minimp3", "stb")
|
||||
add_requires("chipmunk2d", "dr_wav", "efsw", "entt >=3.9", "kiwisolver", "libflac", "libsdl", "libx11", "minimp3", "stb")
|
||||
add_requires("freetype", { configs = { bzip2 = true, png = true, woff2 = true, zlib = true, debug = is_mode("debug") } })
|
||||
add_requires("libvorbis", { configs = { with_vorbisenc = false } })
|
||||
add_requires("openal-soft", { configs = { shared = true }})
|
||||
|
|
|
|||
Loading…
Reference in New Issue