Thanks devee for this fix

This commit is contained in:
Benau 2016-07-05 17:47:55 +08:00 committed by GitHub
parent 04ccadd745
commit b6153b6002

View File

@ -11,7 +11,7 @@ include_directories("${CMAKE_CURRENT_SOURCE_DIR}/include/"
find_package(OpenGL REQUIRED)
include_directories(${OPENGL_INCLUDE_DIR})
if (UNIX)
if (UNIX AND NOT APPLE)
find_package(X11 REQUIRED)
include_directories(${X11_INCLUDE_DIR})
endif()