mirror of https://github.com/mgba-emu/mgba.git
CMake: Move epoxy GL defines to the right list (fixes #1792)
This commit is contained in:
parent
dd1d1a0a9d
commit
cc739bb369
|
@ -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})
|
||||||
|
|
Loading…
Reference in New Issue