Fix llvm filesystem support

This commit is contained in:
Allison Piper
2024-04-06 00:22:07 +00:00
parent f6099e6311
commit 80980fe373

View File

@@ -64,8 +64,8 @@ else()
endif() endif()
endif() endif()
# GCC-specific flags # Experimental ilesystem library
if (CMAKE_CXX_COMPILER_ID STREQUAL GNU) if (CMAKE_CXX_COMPILER_ID STREQUAL GNU OR CMAKE_CXX_COMPILER_ID STREQUAL Clang)
target_link_libraries(nvbench.build_interface INTERFACE stdc++fs) target_link_libraries(nvbench.build_interface INTERFACE stdc++fs)
endif() endif()