Explicitly disable X11 compilation for windows. No idea why it is

defined in CGUIEditbox now, but it somehow is ;(
This commit is contained in:
hiker 2016-11-14 18:25:00 +11:00
parent e6e302af1c
commit feae91042a

View File

@ -61,6 +61,7 @@ if(WIN32)
set(ENV{LIB} ${PROJECT_SOURCE_DIR}/dependencies/lib)
set(ENV{OPENALDIR} ${PROJECT_SOURCE_DIR}/dependencies)
add_definitions(-D_IRR_STATIC_LIB_)
add_definitions(-DNO_IRR_COMPILE_WITH_X11_)
endif()
if(USE_GLES2)