[aseprite] 130/250: Minor change in she/CMakeLists.txt

Tobias Hansen thansen at moszumanska.debian.org
Sun Dec 20 15:27:20 UTC 2015


This is an automated email from the git hooks/post-receive script.

thansen pushed a commit to branch master
in repository aseprite.

commit 2bc6a76fd5ef6be62d50b26398403e6c42f827e9
Author: David Capello <davidcapello at gmail.com>
Date:   Mon Oct 5 17:42:07 2015 -0300

    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.
---
 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 f6521f9..f0595b9 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}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/aseprite.git



More information about the Pkg-games-commits mailing list