diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2023-03-26 21:12:25 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2023-03-26 21:12:25 -0500 |
commit | a7b5f7eb901acf644098f7bf40208cebd6cac71a (patch) | |
tree | 04312ffebcf8eb71a521f56a5bdfe820e4332073 | |
parent | 62831dabef7a6c5607f7c7413fb57269f5781b6c (diff) | |
download | horizon-a7b5f7eb901acf644098f7bf40208cebd6cac71a.tar.gz horizon-a7b5f7eb901acf644098f7bf40208cebd6cac71a.tar.bz2 horizon-a7b5f7eb901acf644098f7bf40208cebd6cac71a.tar.xz horizon-a7b5f7eb901acf644098f7bf40208cebd6cac71a.zip |
CMake: Disable use of std::filesystem
Causes Valgrind to report memory errors on GCC 8.5.0.
-rw-r--r-- | CMakeLists.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 912654c..fcfaf81 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -84,14 +84,14 @@ ELSE(INSTALL) ENDIF(INSTALL) -if("cxx_std_17" IN_LIST CMAKE_CXX_COMPILE_FEATURES AND NOT APPLE) - SET(FS_LIBRARY stdc++fs) - add_definitions(-DFS_IS_STDCXX) -ELSE() +#if("cxx_std_17" IN_LIST CMAKE_CXX_COMPILE_FEATURES AND NOT APPLE) +# SET(FS_LIBRARY stdc++fs) +# add_definitions(-DFS_IS_STDCXX) +#ELSE() find_package(Boost REQUIRED COMPONENTS filesystem) SET(FS_LIBRARY ${Boost_FILESYSTEM_LIBRARY}) add_definitions(-DFS_IS_BOOST) -ENDIF() +#ENDIF() add_subdirectory(hscript) |