mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-06 03:39:51 +00:00
Minor change in she/CMakeLists.txt
This was done in case we need to use #include <GLES2/gl.2> in the future, as this header file is in angle2 repository.
This commit is contained in:
parent
9a8b7cd741
commit
2bc6a76fd5
@ -99,19 +99,17 @@ if(USE_SKIA_BACKEND)
|
||||
find_path(SKIA_EFFECTS_INCLUDE_DIR SkBitmapSource.h HINTS "${SKIA_DIR}/include/effects")
|
||||
find_path(SKIA_GPU_INCLUDE_DIR SkGr.h HINTS "${SKIA_DIR}/include/gpu")
|
||||
find_path(SKIA_UTILS_INCLUDE_DIR SkRandom.h HINTS "${SKIA_DIR}/include/utils")
|
||||
|
||||
set(SKIA_ANGLE_INCLUDE_DIR "")
|
||||
if(WIN32)
|
||||
find_path(SKIA_ANGLE_INCLUDE_DIR angle_gl.h HINTS "${SKIA_DIR}/third_party/externals/angle2/include")
|
||||
endif()
|
||||
find_path(SKIA_ANGLE_INCLUDE_DIR angle_gl.h HINTS "${SKIA_DIR}/third_party/externals/angle2/include")
|
||||
|
||||
include_directories(
|
||||
${SKIA_CONFIG_INCLUDE_DIR}
|
||||
${SKIA_CORE_INCLUDE_DIR}
|
||||
${SKIA_GPU_INCLUDE_DIR}
|
||||
${SKIA_PORTS_INCLUDE_DIR}
|
||||
${SKIA_UTILS_INCLUDE_DIR}
|
||||
${SKIA_ANGLE_INCLUDE_DIR})
|
||||
${SKIA_UTILS_INCLUDE_DIR})
|
||||
if(WIN32)
|
||||
include_directories(${SKIA_ANGLE_INCLUDE_DIR})
|
||||
endif()
|
||||
|
||||
set(SKIA_LIBRARIES
|
||||
${SKIA_ETC1_LIBRARY}
|
||||
|
Loading…
x
Reference in New Issue
Block a user