[aseprite] 06/07: Fix failing third_party/CMakeLists.txt.

Tobias Hansen thansen at moszumanska.debian.org
Thu Sep 3 23:15:22 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 afcf2c42850e35e5c26c2d92860c062d32bb0186
Author: Tobias Hansen <tobias.han at gmx.de>
Date:   Fri Sep 4 01:05:36 2015 +0200

    Fix failing third_party/CMakeLists.txt.
---
 debian/patches/series                       |  1 +
 debian/patches/third_party_cmakelists.patch | 11 +++++++++++
 2 files changed, 12 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
index 59c9203..8df8701 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@ libx11-underlinkage.patch
 disable-file-and-gif-tests.patch
 disable-resize_image_tests.patch
 find-pixman-combine32.patch
+third_party_cmakelists.patch
diff --git a/debian/patches/third_party_cmakelists.patch b/debian/patches/third_party_cmakelists.patch
new file mode 100644
index 0000000..9b9d1bd
--- /dev/null
+++ b/debian/patches/third_party_cmakelists.patch
@@ -0,0 +1,11 @@
+--- a/third_party/CMakeLists.txt
++++ b/third_party/CMakeLists.txt
+@@ -33,8 +33,6 @@
+   # CMakeLists.txt modifies some MSVC flags.
+   include_directories(${CMAKE_CURRENT_SOURCE_DIR}/gtest ${CMAKE_CURRENT_SOURCE_DIR}/gtest/include)
+   add_library(gtest ${CMAKE_CURRENT_SOURCE_DIR}/gtest/src/gtest-all.cc)
+-else()
+-  message(FATAL_ERROR "gtest/gtest.h is missing. Initialize submodules: git submodule update --init --recursive")
+ endif()
+ 
+ if(NOT USE_SHARED_CURL)

-- 
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