mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-28 15:20:15 +00:00
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.
This commit is contained in:
parent
70127f19e1
commit
7f8cbfd250
@ -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")
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu89")
|
||||||
endif()
|
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)
|
if(NOT USE_SHARED_CURL)
|
||||||
set(CURL_STATICLIB ON BOOL)
|
set(CURL_STATICLIB ON BOOL)
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user