Fix LIBMGBA_ONLY build
pdagobert pdagobert@users.noreply.github.com
Sat, 28 Nov 2020 04:43:50 +0100
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
CMakeLists.txt
→
CMakeLists.txt
@@ -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()