mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-28 18:32:50 +00:00
No longer add -stdlib=libc++ in CMakeLists.txt
Adding -stdlib=libc++ was needed when 10.7 was being targeted because on 10.8 and earlier libstdc++ is the default. Now that the target is 10.9 specifying -stdlib=libc++ is unnecessary since libc++ is the default on 10.9 and later.
This commit is contained in:
parent
683747f412
commit
be7c26da5e
@ -30,13 +30,6 @@ set(CMAKE_USER_MAKE_RULES_OVERRIDE_CXX ${CMAKE_CURRENT_SOURCE_DIR}/laf/cmake/cxx
|
|||||||
# Aseprite project
|
# Aseprite project
|
||||||
project(aseprite C CXX)
|
project(aseprite C CXX)
|
||||||
|
|
||||||
if(CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang")
|
|
||||||
# As we compile with CMAKE_OSX_DEPLOYMENT_TARGET=10.9, we have to
|
|
||||||
# explicitly say that we want to use libc++ instead of the GNU
|
|
||||||
# libstdc++
|
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# Check repository status
|
# Check repository status
|
||||||
if(NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/laf/CMakeLists.txt)
|
if(NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/laf/CMakeLists.txt)
|
||||||
message(FATAL_ERROR "Your Aseprite repository is incomplete, initialize submodules using:\n git submodule update --init --recursive")
|
message(FATAL_ERROR "Your Aseprite repository is incomplete, initialize submodules using:\n git submodule update --init --recursive")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user