mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 00:32:57 -04:00
CMake: Don't use X11 on Apple.
This commit is contained in:
parent
10abe6e216
commit
7a3ea071a4
@ -491,7 +491,10 @@ package_status(CG "Nvidia Cg Shading Language" "${cg_apis}")
|
|||||||
#
|
#
|
||||||
|
|
||||||
# X11 (and GLX)
|
# X11 (and GLX)
|
||||||
find_package(X11 QUIET)
|
|
||||||
|
if(NOT APPLE)
|
||||||
|
find_package(X11 QUIET)
|
||||||
|
endif()
|
||||||
|
|
||||||
if(NOT X11_Xkb_FOUND OR NOT X11_Xutil_FOUND)
|
if(NOT X11_Xkb_FOUND OR NOT X11_Xutil_FOUND)
|
||||||
# Panda implicitly requires these supplementary X11 libs; if we can't find
|
# Panda implicitly requires these supplementary X11 libs; if we can't find
|
||||||
|
Loading…
x
Reference in New Issue
Block a user