diff --git a/CMakeLists.txt b/CMakeLists.txt index 0adb3c57d..3bb4585d8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -703,7 +703,7 @@ elseif(BUILD_GLES2) set(CPACK_DEBIAN_PACKAGE_DEPENDS "${CPACK_DEBIAN_PACKAGE_DEPENDS},libgles2") endif() -if (WIN32 AND NOT USE_EPOXY) +if(WIN32 AND NOT SKIP_LIBRARY AND NOT USE_EPOXY) message(FATAL_ERROR "Windows requires epoxy module!") endif()