diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2020-06-21 12:28:37 (GMT) |
---|---|---|
committer | Marc Chevrier <marc.chevrier@gmail.com> | 2020-07-09 15:02:42 (GMT) |
commit | d654bf3449a24d412378af6c3aea53fa2899ad7d (patch) | |
tree | 7b5ac126f179e5513bbbc48fa03d3c598b02fec1 /Source/Checks/cm_cxx_features.cmake | |
parent | e5798126fcfd08c7ca0f0f8d1fb627b04f655198 (diff) | |
download | CMake-d654bf3449a24d412378af6c3aea53fa2899ad7d.zip CMake-d654bf3449a24d412378af6c3aea53fa2899ad7d.tar.gz CMake-d654bf3449a24d412378af6c3aea53fa2899ad7d.tar.bz2 |
STL Support: Add cm::filesystem::path in <cm/filesystem>
Diffstat (limited to 'Source/Checks/cm_cxx_features.cmake')
-rw-r--r-- | Source/Checks/cm_cxx_features.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/Checks/cm_cxx_features.cmake b/Source/Checks/cm_cxx_features.cmake index 50ccc7c..e726fc7 100644 --- a/Source/Checks/cm_cxx_features.cmake +++ b/Source/Checks/cm_cxx_features.cmake @@ -63,3 +63,8 @@ if(CMake_HAVE_CXX_MAKE_UNIQUE) set(CMake_HAVE_CXX_UNIQUE_PTR 1) endif() cm_check_cxx_feature(unique_ptr) +if (NOT CMAKE_CXX_STANDARD LESS "17") + cm_check_cxx_feature(filesystem) +else() + set(CMake_HAVE_CXX_FILESYSTEM FALSE) +endif() |