[libc++] Guard cxx_experimental settings behind LIBCXX_ENABLE_EXPERIMENTAL_LIBRARY
authorAlex Langford <apl@fb.com>
Fri, 4 Oct 2019 23:08:20 +0000 (23:08 +0000)
committerAlex Langford <apl@fb.com>
Fri, 4 Oct 2019 23:08:20 +0000 (23:08 +0000)
commit9627b26c40a19ce904921148f7be4cb84fd9e796
tree0be75bcff1a30a3bcfb641b114ff82f24378dc70
parentfadc84ae9a959d9d5b0642fce4dff7a1f32d63ad
[libc++] Guard cxx_experimental settings behind LIBCXX_ENABLE_EXPERIMENTAL_LIBRARY

If you explicitly set LIBCXX_ENABLE_EXPERIMENTAL_LIBRARY to OFF, your
project will fail to configure because the cxx_experimental target
doesn't exist.

llvm-svn: 373809
libcxx/src/CMakeLists.txt