diff options
author | Eric Fiselier <eric@efcs.ca> | 2017-04-20 04:24:29 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2017-04-20 04:24:29 +0000 |
commit | ed004ef206ecd40c6f0d9ddd6ccd37449b247278 (patch) | |
tree | dcfe93afc3e3c786426c118eef118b21066c66ef | |
parent | d3884b840213199eb6fd40d83d1085e82c9daac6 (diff) | |
download | bcm5719-llvm-ed004ef206ecd40c6f0d9ddd6ccd37449b247278.tar.gz bcm5719-llvm-ed004ef206ecd40c6f0d9ddd6ccd37449b247278.zip |
Disable the filesystem library on Windows by default
llvm-svn: 300820
-rw-r--r-- | libcxx/CMakeLists.txt | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libcxx/CMakeLists.txt b/libcxx/CMakeLists.txt index e2ee1e52d2e..d3bd533396b 100644 --- a/libcxx/CMakeLists.txt +++ b/libcxx/CMakeLists.txt @@ -64,8 +64,12 @@ option(LIBCXX_ENABLE_ASSERTIONS "Enable assertions independent of build mode." O option(LIBCXX_ENABLE_SHARED "Build libc++ as a shared library." ON) option(LIBCXX_ENABLE_STATIC "Build libc++ as a static library." ON) option(LIBCXX_ENABLE_EXPERIMENTAL_LIBRARY "Build libc++experimental.a" ON) -option(LIBCXX_ENABLE_FILESYSTEM - "Build filesystem as part of libc++experimental.a" ${LIBCXX_ENABLE_EXPERIMENTAL_LIBRARY}) +set(ENABLE_FILESYSTEM_DEFAULT ${LIBCXX_ENABLE_EXPERIMENTAL_LIBRARY}) +if (WIN32) + set(ENABLE_FILESYSTEM_DEFAULT OFF) +endif() +option(LIBCXX_ENABLE_FILESYSTEM "Build filesystem as part of libc++experimental.a" + ${ENABLE_FILESYSTEM_DEFAULT}) option(LIBCXX_INCLUDE_TESTS "Build the libc++ tests." ${LLVM_INCLUDE_TESTS}) # Benchmark options ----------------------------------------------------------- |