Skip to content
Snippets Groups Projects
Commit 72144b30 authored by Rye Mutt's avatar Rye Mutt :bread:
Browse files

Enable deprecated auto_ptr temporarily for macos

parent b4e4ba70
No related branches found
No related tags found
No related merge requests found
...@@ -278,6 +278,8 @@ if (DARWIN) ...@@ -278,6 +278,8 @@ if (DARWIN)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${DARWIN_extra_cstar_flags}") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${DARWIN_extra_cstar_flags}")
# NOTE: it's critical that the optimization flag is put in front. # NOTE: it's critical that the optimization flag is put in front.
# NOTE: it's critical to have both CXX_FLAGS and C_FLAGS covered. # NOTE: it's critical to have both CXX_FLAGS and C_FLAGS covered.
add_definitions(-D_LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR=1)
endif (DARWIN) endif (DARWIN)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment