From 2bc6a76fd5ef6be62d50b26398403e6c42f827e9 Mon Sep 17 00:00:00 2001 From: David Capello Date: Mon, 5 Oct 2015 17:42:07 -0300 Subject: [PATCH] Minor change in she/CMakeLists.txt This was done in case we need to use #include in the future, as this header file is in angle2 repository. --- src/she/CMakeLists.txt | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/she/CMakeLists.txt b/src/she/CMakeLists.txt index f6521f903..f0595b9f8 100644 --- a/src/she/CMakeLists.txt +++ b/src/she/CMakeLists.txt @@ -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}