Remove VCPKG_ALLOW_APPLE_CLANG.
This option is no longer necessary now that we no longer use std::filesystem on POSIX systems.
MODIFY
CMakeLists.txt
CMakeLists.txt
@@ -17,7 +17,6 @@ endif()
include(CMakeDependentOption)
option(BUILD_TESTING "Option for enabling testing" ON)
-option(VCPKG_ALLOW_APPLE_CLANG "Option for allowing apple clang, even versions that we don't know will work" OFF)
option(VCPKG_DEVELOPMENT_WARNINGS "Option for turning on all warnings" ON)
option(VCPKG_WARNINGS_AS_ERRORS "Set warnings to be errors" OFF)
option(VCPKG_BUILD_TLS12_DOWNLOADER "Enable building the tls12-downloader" OFF)

MODIFY
cmake/utilities.cmake
cmake/utilities.cmake
@@ -19,21 +19,6 @@ On CentOS try the following:
set(COMPILER "gcc")
elseif(CMAKE_CXX_COMPILER_ID MATCHES "AppleClang")
- #[[
- Note: CMAKE_SYSTEM_VERSION uses darwin versions
- - Darwin 19.0.0 = macOS 10.15, iOS 13
- - Darwin 18.0.0 = macOS 10.14, iOS 12
- - Darwin 17.0.0 = macOS 10.13, iOS 11
- - Darwin 16.0.0 = macOS 10.12, iOS 10
- ]]
- if(CMAKE_SYSTEM_VERSION VERSION_LESS "19.0.0" AND NOT VCPKG_ALLOW_APPLE_CLANG)
- message(FATAL_ERROR [[
-Building the vcpkg tool requires support for the C++ Filesystem TS.
-macOS versions below 10.15 do not have support for it with Apple Clang.
-Please install gcc6 or newer from homebrew (brew install gcc).
-If you would like to try anyway, pass --allowAppleClang to bootstrap.sh.
-]])
- endif()
set(COMPILER "clang")
elseif(CMAKE_CXX_COMPILER_ID MATCHES "[Cc]lang")
set(COMPILER "clang")

Remove VCPKG_ALLOW_APPLE_CLANG. (#216)

This option is no longer necessary now that we no longer use std::filesystem on POSIX systems.