Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/llfio.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com>2020-04-15 14:10:07 +0300
committerNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com>2020-04-15 14:10:07 +0300
commit24b2809011b3298e781e46af54491d85598f293d (patch)
tree60bfc813045e4f0c61daa93e8d85af63e60c2fb7 /CMakeLists.txt
parent7e8bbc8b8d4b2822d9ac36b546d68586dc8e7d82 (diff)
Filled out the last of the i/o multiplexer interface and lifecycle.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c3010e7a..3866d3a0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -194,6 +194,14 @@ int main() {
}
" CXX_HAS_CXX17_FILESYSTEM)
if(NOT CXX_HAS_CXX17_FILESYSTEM)
+ check_cxx_source_linkage("
+#include <experimental/filesystem>
+int main() {
+ try { return std::experimental::filesystem::path(\"hi\").empty(); } catch(std::experimental::filesystem::filesystem_error) { return 1; }
+}
+" CXX_HAS_CXX_EXPERIMENTAL_FILESYSTEM)
+endif()
+if(NOT CXX_HAS_CXX17_FILESYSTEM AND NOT CXX_HAS_CXX_EXPERIMENTAL_FILESYSTEM)
indented_message(STATUS "NOTE: Standard <filesystem> not found in the current compiler configuration (try forcing C++ 17 or later?), attempting to figure out what <experimental/filesystem> linker flags to use for this STL ...")
# Are we on libstdc++ or libc++?
check_cxx_source_compiles("