⏪ undo cleanup
This commit is contained in:
parent
4c10ccafd9
commit
ccd42cd3ac
@ -51,11 +51,11 @@
|
||||
#define JSON_HAS_EXPERIMENTAL_FILESYSTEM 1
|
||||
#endif
|
||||
|
||||
//// std::filesystem does not work on MinGW GCC 8: https://sourceforge.net/p/mingw-w64/bugs/737/
|
||||
//#if defined(__MINGW32__) && defined(__GNUC__) && __GNUC__ == 8
|
||||
// #undef JSON_HAS_FILESYSTEM
|
||||
// #undef JSON_HAS_EXPERIMENTAL_FILESYSTEM
|
||||
//#endif
|
||||
// std::filesystem does not work on MinGW GCC 8: https://sourceforge.net/p/mingw-w64/bugs/737/
|
||||
#if defined(__MINGW32__) && defined(__GNUC__) && __GNUC__ == 8
|
||||
#undef JSON_HAS_FILESYSTEM
|
||||
#undef JSON_HAS_EXPERIMENTAL_FILESYSTEM
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
@ -2339,11 +2339,11 @@ using is_detected_convertible =
|
||||
#define JSON_HAS_EXPERIMENTAL_FILESYSTEM 1
|
||||
#endif
|
||||
|
||||
//// std::filesystem does not work on MinGW GCC 8: https://sourceforge.net/p/mingw-w64/bugs/737/
|
||||
//#if defined(__MINGW32__) && defined(__GNUC__) && __GNUC__ == 8
|
||||
// #undef JSON_HAS_FILESYSTEM
|
||||
// #undef JSON_HAS_EXPERIMENTAL_FILESYSTEM
|
||||
//#endif
|
||||
// std::filesystem does not work on MinGW GCC 8: https://sourceforge.net/p/mingw-w64/bugs/737/
|
||||
#if defined(__MINGW32__) && defined(__GNUC__) && __GNUC__ == 8
|
||||
#undef JSON_HAS_FILESYSTEM
|
||||
#undef JSON_HAS_EXPERIMENTAL_FILESYSTEM
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
@ -59,9 +59,9 @@ foreach(feature ${CMAKE_CXX_COMPILE_FEATURES})
|
||||
endif()
|
||||
endforeach()
|
||||
# Clang only supports C++17 starting from Clang 5.0
|
||||
#if ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang" AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 5.0)
|
||||
# unset(compiler_supports_cpp_17)
|
||||
#endif()
|
||||
if ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang" AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 5.0)
|
||||
unset(compiler_supports_cpp_17)
|
||||
endif()
|
||||
|
||||
file(GLOB files src/unit-*.cpp)
|
||||
|
||||
|
||||
@ -62,11 +62,11 @@ using ordered_json = nlohmann::ordered_json;
|
||||
#define JSON_HAS_EXPERIMENTAL_FILESYSTEM 1
|
||||
#endif
|
||||
|
||||
//// std::filesystem does not work on MinGW GCC 8: https://sourceforge.net/p/mingw-w64/bugs/737/
|
||||
//#if defined(__MINGW32__) && defined(__GNUC__) && __GNUC__ == 8
|
||||
// #undef JSON_HAS_FILESYSTEM
|
||||
// #undef JSON_HAS_EXPERIMENTAL_FILESYSTEM
|
||||
//#endif
|
||||
// std::filesystem does not work on MinGW GCC 8: https://sourceforge.net/p/mingw-w64/bugs/737/
|
||||
#if defined(__MINGW32__) && defined(__GNUC__) && __GNUC__ == 8
|
||||
#undef JSON_HAS_FILESYSTEM
|
||||
#undef JSON_HAS_EXPERIMENTAL_FILESYSTEM
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user