Exclude SDL2 from Windows compilation.
This causes problems if CMake finds it - these files are not meant to be used on Windows builds
This commit is contained in:
parent
ce8eb6e4ba
commit
dadfade127
1 changed files with 1 additions and 1 deletions
|
|
@ -259,7 +259,7 @@ else()
|
|||
endif()
|
||||
endif()
|
||||
|
||||
if(SDL2_FOUND)
|
||||
if(SDL2_FOUND AND NOT WIN32)
|
||||
set(ZWIDGET_SOURCES ${ZWIDGET_SOURCES} ${ZWIDGET_SDL2_SOURCES})
|
||||
set(ZWIDGET_LIBS ${ZWIDGET_LIBS} ${SDL2_LIBRARIES} -lSDL2)
|
||||
set(ZWIDGET_DEFINES ${ZWIDGET_DEFINES} -DUSE_SDL2)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue