CMake: Libepoxy is only needed on Windows if building the library or frontends
Vicki Pfau vi@endrift.com
Sun, 23 Jun 2019 12:46:14 -0700
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
CMakeLists.txt
→
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()