CMake: Move epoxy GL defines to the right list (fixes #1792)

This commit is contained in:
Vicki Pfau 2021-03-05 02:15:41 -08:00
parent dd1d1a0a9d
commit cc739bb369
1 changed files with 1 additions and 1 deletions

View File

@ -716,7 +716,7 @@ endif()
if(USE_EPOXY) if(USE_EPOXY)
list(APPEND FEATURE_SRC ${CMAKE_CURRENT_SOURCE_DIR}/src/platform/opengl/gl.c ${CMAKE_CURRENT_SOURCE_DIR}/src/platform/opengl/gles2.c) list(APPEND FEATURE_SRC ${CMAKE_CURRENT_SOURCE_DIR}/src/platform/opengl/gl.c ${CMAKE_CURRENT_SOURCE_DIR}/src/platform/opengl/gles2.c)
add_definitions(-DBUILD_GL -DBUILD_GLES2) list(APPEND FEATURE_DEFINES BUILD_GL BUILD_GLES2)
list(APPEND FEATURES EPOXY) list(APPEND FEATURES EPOXY)
include_directories(AFTER ${EPOXY_INCLUDE_DIRS}) include_directories(AFTER ${EPOXY_INCLUDE_DIRS})
link_directories(${EPOXY_LIBRARY_DIRS}) link_directories(${EPOXY_LIBRARY_DIRS})