Use experimental/filesystem on GCC.

This commit is contained in:
Allison Vacanti
2022-01-11 17:19:55 -05:00
parent a6925f3c2b
commit 348acbd6eb
2 changed files with 16 additions and 2 deletions

View File

@@ -63,6 +63,11 @@ else()
endif()
endif()
# GCC-specific flags
if (CMAKE_CXX_COMPILER_ID STREQUAL GNU)
target_link_libraries(nvbench.build_interface INTERFACE stdc++fs)
endif()
# CUDA-specific flags
target_compile_options(nvbench.build_interface INTERFACE
$<$<COMPILE_LANG_AND_ID:CUDA,NVIDIA>:-Xcudafe=--display_error_number>