Skip to content

Commit be7c26d

Browse files
ryandesigndacap
authored andcommitted
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.
1 parent 683747f commit be7c26d

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

CMakeLists.txt

-7
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,6 @@ set(CMAKE_USER_MAKE_RULES_OVERRIDE_CXX ${CMAKE_CURRENT_SOURCE_DIR}/laf/cmake/cxx
3030
# Aseprite project
3131
project(aseprite C CXX)
3232

33-
if(CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang")
34-
# As we compile with CMAKE_OSX_DEPLOYMENT_TARGET=10.9, we have to
35-
# explicitly say that we want to use libc++ instead of the GNU
36-
# libstdc++
37-
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++")
38-
endif()
39-
4033
# Check repository status
4134
if(NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/laf/CMakeLists.txt)
4235
message(FATAL_ERROR "Your Aseprite repository is incomplete, initialize submodules using:\n git submodule update --init --recursive")

0 commit comments

Comments
 (0)