File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -262,23 +262,6 @@ option(LIBCXX_GENERATE_COVERAGE "Enable generating code coverage." OFF)
262
262
set (LIBCXX_COVERAGE_LIBRARY "" CACHE STRING
263
263
"The Profile-rt library used to build with code coverage" )
264
264
265
- # Don't allow a user to accidentally overwrite the system libc++ installation on Darwin.
266
- # If the user specifies -DCMAKE_INSTALL_PREFIX=/usr the install rules for libc++
267
- # will not be generated and a warning will be issued.
268
- option (LIBCXX_OVERRIDE_DARWIN_INSTALL "Enable overwriting darwins libc++ installation." OFF )
269
- mark_as_advanced (LIBCXX_OVERRIDE_DARWIN_INSTALL ) # Don't show this option by default.
270
-
271
- if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin" AND NOT LIBCXX_OVERRIDE_DARWIN_INSTALL )
272
- if ("${CMAKE_INSTALL_PREFIX} " STREQUAL "/usr" )
273
- message (WARNING "Disabling libc++ install rules because installation would "
274
- "overwrite the systems installation. Configure with "
275
- "-DLIBCXX_OVERRIDE_DARWIN_INSTALL=ON to suppress this behaviour." )
276
- mark_as_advanced (CLEAR LIBCXX_OVERRIDE_DARWIN_INSTALL ) # Show the override option.
277
- set (LIBCXX_INSTALL_HEADERS OFF )
278
- set (LIBCXX_INSTALL_LIBRARY OFF )
279
- endif ()
280
- endif ()
281
-
282
265
set (LIBCXX_CONFIGURE_IDE_DEFAULT OFF )
283
266
if (XCODE OR MSVC_IDE )
284
267
set (LIBCXX_CONFIGURE_IDE_DEFAULT ON )
You can’t perform that action at this time.
0 commit comments