CMake: Libepoxy is only needed on Windows if building the library or frontends

This commit is contained in:
Vicki Pfau 2019-06-23 12:46:14 -07:00
parent 46f8dffcd7
commit e40617f850
1 changed files with 1 additions and 1 deletions

View File

@ -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()