Skip to content

Commit 2557fad

Browse files
committed
Ehh dont use the std::filesystem implementation by default
1 parent 410c858 commit 2557fad

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

.github/workflows/windows.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,12 @@ jobs:
6666
6767
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\vc\Auxiliary\build\vcvarsall.bat" x64
6868
pwsh "share\openPMD\download_samples.ps1" build
69-
cmake -S . -B build ^
70-
-G "Ninja" ^
71-
-DCMAKE_C_COMPILER=clang-cl ^
72-
-DCMAKE_CXX_COMPILER=clang-cl ^
73-
-DCMAKE_BUILD_TYPE=Release ^
69+
cmake -S . -B build ^
70+
-G "Ninja" ^
71+
-DCMAKE_C_COMPILER=clang-cl ^
72+
-DCMAKE_CXX_COMPILER=clang-cl ^
73+
-DCMAKE_BUILD_TYPE=Release ^
74+
-DopenPMD_USE_FILESYSTEM_HEADER=OFF ^
7475
-DopenPMD_USE_MPI=OFF
7576
cmake --build build --config Release --parallel 2
7677
cmake --build build --config Debug --target install

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ option(openPMD_USE_INTERNAL_TOML11 "Use internally shipped toml11" ${op
151151

152152
option(openPMD_USE_INVASIVE_TESTS "Enable unit tests that modify source code" OFF)
153153
option(openPMD_USE_VERIFY "Enable internal VERIFY (assert) macro independent of build type" ON)
154-
option(openPMD_USE_FILESYSTEM_HEADER "Enable filesystem header. May be disabled for old compiler versions." ON)
154+
option(openPMD_USE_FILESYSTEM_HEADER "Enable filesystem header. May be disabled for old compiler versions." OFF)
155155
mark_as_advanced(openPMD_USE_FILESYSTEM_HEADER)
156156

157157
set(CMAKE_CONFIGURATION_TYPES "Release;Debug;MinSizeRel;RelWithDebInfo")

0 commit comments

Comments
 (0)