diff options
| author | fradav <fradav@gmail.com> | 2019-11-22 02:11:57 +0100 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2019-11-21 17:11:57 -0800 |
| commit | 483257fbfb305f4053d0d9e24e2a8cccfe20a3b4 (patch) | |
| tree | bf0bf965b4870fb8e2d6c896004a3443d61c8f66 /toolsrc | |
| parent | bfaf18478f8f117d6e6ef49d73ba302a2176966b (diff) | |
| download | vcpkg-483257fbfb305f4053d0d9e24e2a8cccfe20a3b4.tar.gz vcpkg-483257fbfb305f4053d0d9e24e2a8cccfe20a3b4.zip | |
Update to clang 9.* (removed libc++fs) (#8924)
Diffstat (limited to 'toolsrc')
| -rw-r--r-- | toolsrc/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/toolsrc/CMakeLists.txt b/toolsrc/CMakeLists.txt index bbecb8f30..9106204b2 100644 --- a/toolsrc/CMakeLists.txt +++ b/toolsrc/CMakeLists.txt @@ -38,6 +38,10 @@ If you would like to try anyway, pass --allowAppleClang to bootstrap.sh.") endif()
elseif(CMAKE_CXX_COMPILER_ID MATCHES "[Cc]lang")
set(CLANG 1)
+ if(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL "9.0.0")
+ set(NO_LIBCXXFS 1)
+ add_compile_definitions(_LIBCPP_NO_EXPERIMENTAL_DEPRECATION_WARNING_FILESYSTEM=1)
+ endif()
elseif(NOT MSVC)
message(FATAL_ERROR "Unknown compiler: ${CMAKE_CXX_COMPILER_ID}")
endif()
|
