[aseprite] 131/308: New flags required for OS X/Skia port (m48 branch)

Tobias Hansen thansen at moszumanska.debian.org
Tue Mar 8 02:45:01 UTC 2016


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

thansen pushed a commit to branch master
in repository aseprite.

commit 7f8cbfd2501c8ee5c9a6c5eda82ede7ee1a8de19
Author: David Capello <davidcapello at gmail.com>
Date:   Thu Dec 17 17:43:13 2015 -0300

    New flags required for OS X/Skia port (m48 branch)
    
    As now Skia uses <atomic> header file, we need C++11 and libc++
    standard library when we compile with clang.
---
 CMakeLists.txt | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index c96a1a4..e5a0acc 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -144,6 +144,10 @@ if(NOT WIN32 AND NOT APPLE AND CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
   set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu89")
 endif()
 
+if(APPLE AND USE_SKIA_BACKEND)
+  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -stdlib=libc++")
+endif()
+
 if(NOT USE_SHARED_CURL)
   set(CURL_STATICLIB ON BOOL)
 endif()

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