cmake: Do not require X11 on OSX
This commit is contained in:
@@ -5,7 +5,7 @@ if(APPLE)
|
||||
include_directories(${COCOA})
|
||||
endif()
|
||||
|
||||
if(UNIX)
|
||||
if(LINUX)
|
||||
find_package(X11 REQUIRED)
|
||||
link_libraries(${X11_LIBRARIES})
|
||||
include_directories(${X11_INCLUDE_DIR})
|
||||
|
Reference in New Issue
Block a user