From e40617f8505102c1b62953c8882b8997ae93cffe Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Sun, 23 Jun 2019 12:46:14 -0700 Subject: [PATCH] CMake: Libepoxy is only needed on Windows if building the library or frontends --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()