Fix LIBMGBA_ONLY build

This commit is contained in:
pdagobert 2020-11-28 04:43:50 +01:00 committed by Vicki Pfau
parent 5bcf243139
commit 69a8aa5520
1 changed files with 1 additions and 1 deletions

View File

@ -732,7 +732,7 @@ elseif(BUILD_GLES2)
set(CPACK_DEBIAN_PACKAGE_DEPENDS "${CPACK_DEBIAN_PACKAGE_DEPENDS},libgles2")
endif()
if(WIN32 AND NOT SKIP_LIBRARY AND NOT USE_EPOXY)
if(WIN32 AND NOT (LIBMGBA_ONLY OR SKIP_LIBRARY OR USE_EPOXY))
message(FATAL_ERROR "Windows requires epoxy module!")
endif()